commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1033614 - /commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeAttributesMap.java
Date Wed, 10 Nov 2010 17:52:21 GMT
Author: sebb
Date: Wed Nov 10 17:52:21 2010
New Revision: 1033614

URL: http://svn.apache.org/viewvc?rev=1033614&view=rev
Log:
Neater - props to joerg

Modified:
    commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeAttributesMap.java

Modified: commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeAttributesMap.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeAttributesMap.java?rev=1033614&r1=1033613&r2=1033614&view=diff
==============================================================================
--- commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeAttributesMap.java
(original)
+++ commons/proper/vfs/trunk/sandbox/src/main/java/org/apache/commons/vfs/provider/mime/MimeAttributesMap.java
Wed Nov 10 17:52:21 2010
@@ -147,7 +147,7 @@ public class MimeAttributesMap implement
 
             try
             {
-                Object value = method.invoke(part, (Object[]) null);
+                Object value = method.invoke(part);
                 ret.put(OBJECT_PREFIX + name, value);
             }
             catch (IllegalAccessException e)



Mime
View raw message