Author: tn
Date: Sun Apr 21 15:21:45 2013
New Revision: 1470311

URL: http://svn.apache.org/r1470311
Log:
Suppress deprecation warnings for ArrayStack usage.

Modified:
    
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapUtils.java

Modified: 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapUtils.java?rev=1470311&r1=1470310&r2=1470311&view=diff
==============================================================================
--- 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapUtils.java
 (original)
+++ 
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MapUtils.java
 Sun Apr 21 15:21:45 2013
@@ -910,6 +910,7 @@ public class MapUtils {
      *  If <code>null</code>, the text 'null' is output.
      * @throws NullPointerException if the stream is <code>null</code>
      */
+    @SuppressWarnings("deprecation")
     public static void verbosePrint(final PrintStream out, final Object label, 
final Map<?, ?> map) {
         verbosePrintInternal(out, label, map, new ArrayStack<Map<?, ?>>(), 
false);
     }
@@ -932,6 +933,7 @@ public class MapUtils {
      *   If <code>null</code>, the text 'null' is output.
      * @throws NullPointerException if the stream is <code>null</code>
      */
+    @SuppressWarnings("deprecation")
     public static void debugPrint(final PrintStream out, final Object label, 
final Map<?, ?> map) {
         verbosePrintInternal(out, label, map, new ArrayStack<Map<?, ?>>(), 
true);
     }
@@ -961,6 +963,7 @@ public class MapUtils {
      * @param debug  flag indicating whether type names should be output.
      * @throws NullPointerException if the stream is <code>null</code>
      */
+    @SuppressWarnings("deprecation")
     private static void verbosePrintInternal(final PrintStream out, final 
Object label, final Map<?, ?> map,
                                              final ArrayStack<Map<?, ?>> 
lineage, final boolean debug) {
         printIndent(out, lineage.size());


Reply via email to