aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2023-11-21 07:48:37 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2023-11-21 07:48:37 +0700
commit9e09610f1ab49361c68c7d3d6f40ad71fb267f79 (patch)
treeb7c5c8c50dee965db11f916eb572dd19a53acc5d /taskdefs
parent021fcf16f1828e311621d172dfb084fe309144f4 (diff)
downloadaspectj-9e09610f1ab49361c68c7d3d6f40ad71fb267f79.tar.gz
aspectj-9e09610f1ab49361c68c7d3d6f40ad71fb267f79.zip
AjcTaskTest: unwrap redundant if statement
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'taskdefs')
-rw-r--r--taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java b/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
index 0281d66d4..eefb37ad6 100644
--- a/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
+++ b/taskdefs/src/test/java/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java
@@ -1028,9 +1028,7 @@ public class AjcTaskTest extends TestCase {
holder,
kind + " expected " + num + " got " + actual);
}
- if (num != actual){
- System.out.println("===\n"+Arrays.toString(holder.getMessages(kind, false))+"\n===\n");
- }
+ System.out.println("===\n" + Arrays.toString(holder.getMessages(kind, false)) + "\n===\n");
assertEquals(kind.toString(), num, actual);
}
}