Skip to content

Commit 2a08641

Browse files
Add warning suppression
1 parent 6b0ed63 commit 2a08641

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/main/java/net/marcellperger/mathexpr/parser/ExprParseException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package net.marcellperger.mathexpr.parser;
22

33

4+
@SuppressWarnings("unused") // I want all the constructors
45
public class ExprParseException extends Exception {
56
public ExprParseException() {
67
super();

src/main/java/net/marcellperger/mathexpr/parser/ExprParseRtException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package net.marcellperger.mathexpr.parser;
22

3+
@SuppressWarnings("unused") // I want all the constructors!
34
public class ExprParseRtException extends RuntimeException {
45
public ExprParseRtException() {
56
super();

src/main/java/net/marcellperger/mathexpr/util/CollectionSizeException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package net.marcellperger.mathexpr.util;
22

3+
@SuppressWarnings("unused")
34
public class CollectionSizeException extends RuntimeException {
45
public CollectionSizeException() {
56
}

src/main/java/net/marcellperger/mathexpr/util/UncheckedException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/**
55
* A class for a general unchecked exception returned by {@link Util#}
66
*/
7+
@SuppressWarnings("unused")
78
public class UncheckedException extends RuntimeException {
89
public UncheckedException() {
910
}

0 commit comments

Comments
 (0)