Author: markt
Date: Sat Mar 7 19:24:02 2015
New Revision: 1664898
URL: http://svn.apache.org/r1664898
Log:
Fix an IDE nag
Modified:
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/EnclosingMethodAttributeTestCase.java
Modified:
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/EnclosingMethodAttributeTestCase.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/bcel/EnclosingMethodAttributeTestCase.java?rev=1664898&r1=1664897&r2=1664898&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/EnclosingMethodAttributeTestCase.java
(original)
+++
commons/proper/bcel/trunk/src/test/java/org/apache/bcel/EnclosingMethodAttributeTestCase.java
Sat Mar 7 19:24:02 2015
@@ -13,13 +13,14 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
+ *
*/
package org.apache.bcel;
import java.io.File;
import java.io.IOException;
+
import org.apache.bcel.classfile.Attribute;
import org.apache.bcel.classfile.ConstantPool;
import org.apache.bcel.classfile.EnclosingMethod;
@@ -91,6 +92,7 @@ public class EnclosingMethodAttributeTes
clazz.dump(tfile);
// Read in the new version and check it is OK
SyntheticRepository repos2 = createRepos(".");
+ @SuppressWarnings("unused")
JavaClass clazz2 = repos2.loadClass("AttributeTestClassEM02$1");
EnclosingMethod em = (EnclosingMethod) encMethodAttrs[0];
String enclosingClassName = em.getEnclosingClass().getBytes(pool);