commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r755294 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java
Date Tue, 17 Mar 2009 16:06:53 GMT
Author: sebb
Date: Tue Mar 17 16:06:52 2009
New Revision: 755294

URL: http://svn.apache.org/viewvc?rev=755294&view=rev
Log:
VFS-192 - wrong items were being compared

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

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java?rev=755294&r1=755293&r2=755294&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java
Tue Mar 17 16:06:52 2009
@@ -117,71 +117,71 @@
 
     Name lookupName(String attrName)
     {
-        if (Name.CLASS_PATH.equals(attrName))
+        if (Name.CLASS_PATH.toString().equals(attrName))
         {
             return Name.CLASS_PATH;
         }
-        else if (Name.CONTENT_TYPE.equals(attrName))
+        else if (Name.CONTENT_TYPE.toString().equals(attrName))
         {
             return Name.CONTENT_TYPE;
         }
-        else if (Name.EXTENSION_INSTALLATION.equals(attrName))
+        else if (Name.EXTENSION_INSTALLATION.toString().equals(attrName))
         {
             return Name.EXTENSION_INSTALLATION;
         }
-        else if (Name.EXTENSION_LIST.equals(attrName))
+        else if (Name.EXTENSION_LIST.toString().equals(attrName))
         {
             return Name.EXTENSION_LIST;
         }
-        else if (Name.EXTENSION_NAME.equals(attrName))
+        else if (Name.EXTENSION_NAME.toString().equals(attrName))
         {
             return Name.EXTENSION_NAME;
         }
-        else if (Name.IMPLEMENTATION_TITLE.equals(attrName))
+        else if (Name.IMPLEMENTATION_TITLE.toString().equals(attrName))
         {
             return Name.IMPLEMENTATION_TITLE;
         }
-        else if (Name.IMPLEMENTATION_URL.equals(attrName))
+        else if (Name.IMPLEMENTATION_URL.toString().equals(attrName))
         {
             return Name.IMPLEMENTATION_URL;
         }
-        else if (Name.IMPLEMENTATION_VENDOR.equals(attrName))
+        else if (Name.IMPLEMENTATION_VENDOR.toString().equals(attrName))
         {
             return Name.IMPLEMENTATION_VENDOR;
         }
-        else if (Name.IMPLEMENTATION_VENDOR_ID.equals(attrName))
+        else if (Name.IMPLEMENTATION_VENDOR_ID.toString().equals(attrName))
         {
             return Name.IMPLEMENTATION_VENDOR_ID;
         }
-        else if (Name.IMPLEMENTATION_VERSION.equals(attrName))
+        else if (Name.IMPLEMENTATION_VERSION.toString().equals(attrName))
         {
             return Name.IMPLEMENTATION_VENDOR;
         }
-        else if (Name.MAIN_CLASS.equals(attrName))
+        else if (Name.MAIN_CLASS.toString().equals(attrName))
         {
             return Name.MAIN_CLASS;
         }
-        else if (Name.MANIFEST_VERSION.equals(attrName))
+        else if (Name.MANIFEST_VERSION.toString().equals(attrName))
         {
             return Name.MANIFEST_VERSION;
         }
-        else if (Name.SEALED.equals(attrName))
+        else if (Name.SEALED.toString().equals(attrName))
         {
             return Name.SEALED;
         }
-        else if (Name.SIGNATURE_VERSION.equals(attrName))
+        else if (Name.SIGNATURE_VERSION.toString().equals(attrName))
         {
             return Name.SIGNATURE_VERSION;
         }
-        else if (Name.SPECIFICATION_TITLE.equals(attrName))
+        else if (Name.SPECIFICATION_TITLE.toString().equals(attrName))
         {
             return Name.SPECIFICATION_TITLE;
         }
-        else if (Name.SPECIFICATION_VENDOR.equals(attrName))
+        else if (Name.SPECIFICATION_VENDOR.toString().equals(attrName))
         {
             return Name.SPECIFICATION_VENDOR;
         }
-        else if (Name.SPECIFICATION_VERSION.equals(attrName))
+        else if (Name.SPECIFICATION_VERSION.toString().equals(attrName))
         {
             return Name.SPECIFICATION_VERSION;
         }



Mime
View raw message