Skip to content

Commit 6495178

Browse files
committed
PrintTestResult: Suppress warning for use of println()
1 parent e146d20 commit 6495178

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pg/src/test/java/org/bouncycastle/test/PrintTestResult.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public static void printResult(TestResult result)
1414
{
1515
while (e.hasMoreElements())
1616
{
17+
// -DM System.out.println
1718
System.out.println(e.nextElement());
1819
}
1920
}
@@ -23,12 +24,14 @@ public static void printResult(TestResult result)
2324
{
2425
while (e.hasMoreElements())
2526
{
27+
// -DM System.out.println
2628
System.out.println(e.nextElement());
2729
}
2830
}
2931

3032
if (!result.wasSuccessful())
3133
{
34+
// -DM System.exit
3235
System.exit(1);
3336
}
3437
}

0 commit comments

Comments
 (0)