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(); - /* [EMAIL PROTECTED]: 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); } /**