commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r616670 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DefaultFileContent.java
Date Wed, 30 Jan 2008 07:45:29 GMT
Author: imario
Date: Tue Jan 29 23:45:25 2008
New Revision: 616670

URL: http://svn.apache.org/viewvc?rev=616670&view=rev
Log:
VFS-132: do not lowercase attribute names on get

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DefaultFileContent.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DefaultFileContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DefaultFileContent.java?rev=616670&r1=616669&r2=616670&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DefaultFileContent.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/DefaultFileContent.java
Tue Jan 29 23:45:25 2008
@@ -251,13 +251,7 @@
         throws FileSystemException
     {
         getAttributes();
-		/* imario@apache.org: VFS-132 since I do not know why I've done this, I'll disable it again
-		if (attrs.containsKey(attrName))
-		{
-			return attrs.get(attrName);
-		}
-		*/
-		return attrs.get(attrName.toLowerCase());
+		return attrs.get(attrName);
     }
 
     /**



Mime
View raw message