Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2011-05-13 06:37:14 -0400
committerChristopher Frost2011-05-13 06:37:14 -0400
commitb0f8f42c7c899c1a3f55117b42d533105444ff6f (patch)
tree48c2b5833abc81340d113c9d1ac92b9f5c66e096 /org.eclipse.virgo.kernel.shell
parentaf6790d661aa64212f494b6ebffdaf98901f012c (diff)
downloadorg.eclipse.virgo.kernel-b0f8f42c7c899c1a3f55117b42d533105444ff6f.tar.gz
org.eclipse.virgo.kernel-b0f8f42c7c899c1a3f55117b42d533105444ff6f.tar.xz
org.eclipse.virgo.kernel-b0f8f42c7c899c1a3f55117b42d533105444ff6f.zip
Tidy up of test code to remove compiler warning.
Diffstat (limited to 'org.eclipse.virgo.kernel.shell')
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/AnnotationBasedCommandResolverTests.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/AnnotationBasedCommandResolverTests.java b/org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/AnnotationBasedCommandResolverTests.java
index 8f456adc..5cad18b7 100644
--- a/org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/AnnotationBasedCommandResolverTests.java
+++ b/org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/AnnotationBasedCommandResolverTests.java
@@ -57,11 +57,13 @@ public class AnnotationBasedCommandResolverTests {
@Command("test")
private static class TestCommands {
+ @SuppressWarnings("unused")
@Command("one")
public void foo() {
}
+ @SuppressWarnings("unused")
@Command("two")
public void bar() {
@@ -71,11 +73,13 @@ public class AnnotationBasedCommandResolverTests {
@Command("test-sub")
private static final class SubTestCommands extends TestCommands {
+ @SuppressWarnings("unused")
@Command("three")
public void alpha() {
}
+ @SuppressWarnings("unused")
@Command("four")
public void bravo() {

Back to the top