From a12632228fd2d66de707a5035397c6cecd985b59 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 21 Nov 2009 18:58:33 +0000 Subject: [PATCH] Suppress Eclipse warnings for deliberate behaviour git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@882968 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/commons/lang/reflect/testbed/Parent.java | 1 + .../org/apache/commons/lang/reflect/testbed/StaticContainer.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test/org/apache/commons/lang/reflect/testbed/Parent.java b/src/test/org/apache/commons/lang/reflect/testbed/Parent.java index 7a4720732..13c045e0a 100644 --- a/src/test/org/apache/commons/lang/reflect/testbed/Parent.java +++ b/src/test/org/apache/commons/lang/reflect/testbed/Parent.java @@ -24,5 +24,6 @@ class Parent implements Foo { public String s = "s"; protected boolean b = false; int i = 0; + @SuppressWarnings("unused") private double d = 0.0; } \ No newline at end of file diff --git a/src/test/org/apache/commons/lang/reflect/testbed/StaticContainer.java b/src/test/org/apache/commons/lang/reflect/testbed/StaticContainer.java index ab2c17c56..85c9dbb03 100644 --- a/src/test/org/apache/commons/lang/reflect/testbed/StaticContainer.java +++ b/src/test/org/apache/commons/lang/reflect/testbed/StaticContainer.java @@ -24,6 +24,7 @@ public class StaticContainer { public static final Object IMMUTABLE_PUBLIC = "public"; protected static final Object IMMUTABLE_PROTECTED = "protected"; static final Object IMMUTABLE_PACKAGE = ""; + @SuppressWarnings("unused") private static final Object IMMUTABLE_PRIVATE = "private"; public static Object mutablePublic;