jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1708186 - /jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/JcrPackageDefinitionImpl.java
Date Mon, 12 Oct 2015 18:03:25 GMT
Author: tripod
Date: Mon Oct 12 18:03:25 2015
New Revision: 1708186

URL: http://svn.apache.org/viewvc?rev=1708186&view=rev
Log:
@trivial swap equals for strings

Modified:
    jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/JcrPackageDefinitionImpl.java

Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/JcrPackageDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/JcrPackageDefinitionImpl.java?rev=1708186&r1=1708185&r2=1708186&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/JcrPackageDefinitionImpl.java
(original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/JcrPackageDefinitionImpl.java
Mon Oct 12 18:03:25 2015
@@ -134,7 +134,7 @@ public class JcrPackageDefinitionImpl im
             int idx = path.lastIndexOf('.');
             if (idx > 0) {
                 String ext = path.substring(idx);
-                if (ext.equalsIgnoreCase(".zip") || ext.equalsIgnoreCase(".jar")) {
+                if (".zip".equalsIgnoreCase(ext) || ".jar".equalsIgnoreCase(ext)) {
                     path = path.substring(0, idx);
                 }
             }



Mime
View raw message