File tree 3 files changed +7
-11
lines changed
src/main/java/net/apnic/rdap/conformance
3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ public static void main(final String[] args) throws Exception {
619
619
620
620
executorService .shutdown ();
621
621
622
- if (contexts .hasFailedResult ()) {
622
+ if (contexts .hasFailedResult ()) {
623
623
System .exit (EX_FAILURE );
624
624
}
625
625
}
Original file line number Diff line number Diff line change @@ -141,11 +141,9 @@ public Specification getSpecification() {
141
141
*
142
142
* @return True of false if this context has a failed result
143
143
*/
144
- public boolean hasFailedResult ()
145
- {
146
- for (Result res : results )
147
- {
148
- if (res .isStatus (Result .Status .Failure )) {
144
+ public boolean hasFailedResult () {
145
+ for (Result res : results ) {
146
+ if (res .isStatus (Result .Status .Failure )) {
149
147
return true ;
150
148
}
151
149
}
Original file line number Diff line number Diff line change @@ -20,11 +20,9 @@ public class ContextList
20
20
*
21
21
* @return boolean if at least one Context has a failed result.
22
22
*/
23
- public boolean hasFailedResult ()
24
- {
25
- for (Context context : this )
26
- {
27
- if (context .hasFailedResult ()) {
23
+ public boolean hasFailedResult () {
24
+ for (Context context : this ) {
25
+ if (context .hasFailedResult ()) {
28
26
return true ;
29
27
}
30
28
}
You can’t perform that action at this time.
0 commit comments