Skip to content

Commit

Permalink
Fixed annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Aug 8, 2023
1 parent 7a0e6ba commit 29f57a7
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static AS4ReceiptMessage create (@Nonnull final ESoapVersion eSoapVersion
@Nonnull @Nonempty final String sMessageID,
@Nullable final Ebms3UserMessage aEbms3UserMessage,
@Nullable final Node aSoapDocument,
@Nonnull final boolean bShouldUseNonRepudiation)
final boolean bShouldUseNonRepudiation)
{
// Only for signed messages
final ICommonsList <ReferenceType> aDSRefs = getAllDSigReferences (aSoapDocument);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public enum EMEPBinding implements IHasID <String>
private final String m_sURI;
private final int m_nRequiredLegs;

EMEPBinding (@Nonnull @Nonempty final String sID, @Nonnull @Nonempty final String sURI, @Nonnull final int nRequiredLegs)
EMEPBinding (@Nonnull @Nonempty final String sID, @Nonnull @Nonempty final String sURI, final int nRequiredLegs)
{
m_sID = sID;
m_sURI = sURI;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public interface IPModeManager
* @param aPMode
* The PMode to be created or updated.
*/
@Nonnull
void createOrUpdatePMode (@Nonnull PMode aPMode);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
*
* @author Philip Helger
*/
@Nonnull
@MustImplementEqualsAndHashcode
public class PMode extends AbstractBusinessObject implements IPMode
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ public EChange updatePMode (@Nonnull final IPMode aPMode)
return EChange.CHANGED;
}

@Nonnull
public void createOrUpdatePMode (@Nonnull final PMode aPMode)
{
ValueEnforcer.notNull (aPMode, "PMode");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ public EChange updatePMode (@Nonnull final IPMode aNewPMode)
return EChange.CHANGED;
}

@Nonnull
public void createOrUpdatePMode (@Nonnull final PMode aPMode)
{
ValueEnforcer.notNull (aPMode, "PMode");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public final EChange setMaxSizeKB (@Nullable final Integer aMaxSizeKB)
* @since 0.12.0
*/
@Nonnull
public final EChange setMaxSizeKB (@Nullable final int nMaxSizeKB)
public final EChange setMaxSizeKB (final int nMaxSizeKB)
{
return setMaxSizeKB (Integer.valueOf (nMaxSizeKB));
}
Expand Down

0 comments on commit 29f57a7

Please sign in to comment.