Suppress warnings

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754538 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/org/apache/commons/lang/SerializationUtilsTest.java b/src/test/org/apache/commons/lang/SerializationUtilsTest.java
index 39d3d21..050a686 100644
--- a/src/test/org/apache/commons/lang/SerializationUtilsTest.java
+++ b/src/test/org/apache/commons/lang/SerializationUtilsTest.java
@@ -159,6 +159,7 @@
     }
 
     public void testSerializeStreamObjNull() throws Exception {
+        // TODO NOT USED - but should it be?
         ByteArrayOutputStream streamTest = new ByteArrayOutputStream();
         try {
             SerializationUtils.serialize(iMap, null);
@@ -169,6 +170,7 @@
     }
 
     public void testSerializeStreamNullNull() throws Exception {
+        // TODO NOT USED - but should it be?
         ByteArrayOutputStream streamTest = new ByteArrayOutputStream();
         try {
             SerializationUtils.serialize(null, null);
@@ -256,6 +258,7 @@
 
         ByteArrayInputStream inTest = new ByteArrayInputStream(streamReal.toByteArray());
         try {
+            @SuppressWarnings("unused")
             Object test = SerializationUtils.deserialize(inTest);
         } catch(SerializationException se) {
             assertEquals("java.lang.ClassNotFoundException: " + CLASS_NOT_FOUND_MESSAGE, se.getMessage());
diff --git a/src/test/org/apache/commons/lang/math/NumberUtilsTest.java b/src/test/org/apache/commons/lang/math/NumberUtilsTest.java
index bd1c102..b7f9d08 100644
--- a/src/test/org/apache/commons/lang/math/NumberUtilsTest.java
+++ b/src/test/org/apache/commons/lang/math/NumberUtilsTest.java
@@ -1120,6 +1120,7 @@
        }
     }
 
+    @SuppressWarnings("cast") // suppress instanceof warning check
     public void testConstants() {
         assertTrue(NumberUtils.LONG_ZERO instanceof Long);
         assertTrue(NumberUtils.LONG_ONE instanceof Long);