Skip to content

Commit

Permalink
Removes @SuppressWarnings("serial") which is no longer necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jqno committed Dec 14, 2024
1 parent 6c101b9 commit a424636
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import nl.jqno.equalsverifier.internal.util.Formatter;

/** Signals that an EqualsVerfier assertion has failed. */
@SuppressWarnings("serial")
public class AssertionException extends MessagingException {

public AssertionException(Formatter message) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package nl.jqno.equalsverifier.internal.exceptions;

/** Signals a bug in EqualsVerifier. */
@SuppressWarnings("serial")
public class EqualsVerifierInternalBugException extends RuntimeException {

private static final String BUG =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package nl.jqno.equalsverifier.internal.exceptions;

/** Signals that a class was inaccessible. */
@SuppressWarnings("serial")
public class ModuleException extends MessagingException {

public ModuleException(String message, Throwable cause) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import nl.jqno.equalsverifier.internal.reflection.TypeTag;

/** Signals that a recursion has been detected while traversing the fields of a data structure. */
@SuppressWarnings("serial")
@SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "EqualsVerifier doesn't serialize.")
public class RecursionException extends MessagingException {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package nl.jqno.equalsverifier.internal.exceptions;

/** Signals that a reflection call went awry. */
@SuppressWarnings("serial")
public class ReflectionException extends RuntimeException {

public ReflectionException(String message, Throwable cause) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,5 @@ public int getI() {
}
}

@SuppressWarnings("serial")
public static final class LoadedBySystemClassLoader extends Exception {}
}

0 comments on commit a424636

Please sign in to comment.