File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
enigma-cli/src/test/java/org/quiltmc/enigma/command Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ static class Builder {
128
128
this .predicate = predicate ;
129
129
}
130
130
131
- @ SuppressWarnings ("unused" )
131
+ @ SuppressWarnings ({ "unused" , "RedundantThrows" } )
132
132
Builder expect () throws Throwable {
133
133
throw new UnsupportedOperationException ();
134
134
}
@@ -144,7 +144,7 @@ Builder expect(String... expect) {
144
144
return this ;
145
145
}
146
146
147
- @ SuppressWarnings ("unused" )
147
+ @ SuppressWarnings ({ "unused" , "RedundantThrows" } )
148
148
Builder unexpect () throws Throwable {
149
149
throw new UnsupportedOperationException ();
150
150
}
@@ -162,7 +162,7 @@ Builder unexpect(String... unexpect) {
162
162
163
163
ValidCase build () {
164
164
if (this .expect == null ) {
165
- throw new IllegalStateException ("Not expect for '%s'!" .formatted (this .predicate ));
165
+ throw new IllegalStateException ("No expect for '%s'!" .formatted (this .predicate ));
166
166
}
167
167
168
168
if (this .unexpect == null ) {
You can’t perform that action at this time.
0 commit comments