maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1206241 - /maven/shared/trunk/maven-jarsigner/src/main/java/org/apache/maven/shared/jarsigner/JarSignerUtil.java
Date Fri, 25 Nov 2011 16:01:57 GMT
Author: olamy
Date: Fri Nov 25 16:01:56 2011
New Revision: 1206241

URL: http://svn.apache.org/viewvc?rev=1206241&view=rev
Log:
[MSHARED-214] Method 'JarSignerUtil.isSignatureFile( String entryName )' needs to also account
for files ending in '.EC'.
Submitted by Christian Schulte.

Modified:
    maven/shared/trunk/maven-jarsigner/src/main/java/org/apache/maven/shared/jarsigner/JarSignerUtil.java

Modified: maven/shared/trunk/maven-jarsigner/src/main/java/org/apache/maven/shared/jarsigner/JarSignerUtil.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-jarsigner/src/main/java/org/apache/maven/shared/jarsigner/JarSignerUtil.java?rev=1206241&r1=1206240&r2=1206241&view=diff
==============================================================================
--- maven/shared/trunk/maven-jarsigner/src/main/java/org/apache/maven/shared/jarsigner/JarSignerUtil.java
(original)
+++ maven/shared/trunk/maven-jarsigner/src/main/java/org/apache/maven/shared/jarsigner/JarSignerUtil.java
Fri Nov 25 16:01:56 2011
@@ -204,6 +204,10 @@ public class JarSignerUtil
                 {
                     return true;
                 }
+                if ( entryName.regionMatches( true, entryName.length() - 3, ".EC", 0, 3 )
)
+                {
+                    return true;
+                }
             }
         }
         return false;



Mime
View raw message