maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1637673 - /maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/phase/AssemblyArchiverPhaseComparator.java
Date Sun, 09 Nov 2014 13:02:36 GMT
Author: krosenvold
Date: Sun Nov  9 13:02:35 2014
New Revision: 1637673

URL: http://svn.apache.org/r1637673
Log:
Okay then, maybe that was a jdk 1.7 method

Modified:
    maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/phase/AssemblyArchiverPhaseComparator.java

Modified: maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/phase/AssemblyArchiverPhaseComparator.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/phase/AssemblyArchiverPhaseComparator.java?rev=1637673&r1=1637672&r2=1637673&view=diff
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/phase/AssemblyArchiverPhaseComparator.java
(original)
+++ maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/phase/AssemblyArchiverPhaseComparator.java
Sun Nov  9 13:02:35 2014
@@ -29,6 +29,6 @@ public class AssemblyArchiverPhaseCompar
         if (!o1hasOrder && ! o2hasOrder) return o1.getClass().getName().compareTo(
o2.getClass().getName() );
         if (!o1hasOrder) return -1;
         if (!o2hasOrder) return +1;
-        return Integer.compare( ((PhaseOrder)o1).order(), ((PhaseOrder)o2).order() );
+        return new Integer(((PhaseOrder)o1).order()).compareTo( ((PhaseOrder)o2).order()
);
     }
 }



Mime
View raw message