commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1545226 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/Debug.java
Date Mon, 25 Nov 2013 11:19:23 GMT
Author: ebourg
Date: Mon Nov 25 11:19:22 2013
New Revision: 1545226

URL: http://svn.apache.org/r1545226
Log:
Debug.getDebug() tests the Map case twice

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/Debug.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/Debug.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/Debug.java?rev=1545226&r1=1545225&r2=1545226&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/Debug.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/Debug.java
Mon Nov 25 11:19:22 2013
@@ -377,8 +377,6 @@ public final class Debug {
             return getDebug(message, (ICC_Profile) value);
         } else if (value instanceof Map) {
             return getDebug(message, (Map<?,?>) value);
-        } else if (value instanceof Map) {
-            return getDebug(message, (Map<?,?>) value); //
         // else if (value instanceof Object) // getDebug(message, (Object)
         // value);
         } else if (value instanceof String) {



Mime
View raw message