flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject git commit: [flex-utilities] [refs/heads/master] - NO JIRA: - Changed the code to be java 1.6 compliant.
Date Mon, 04 Nov 2013 20:40:52 GMT
Updated Branches:
  refs/heads/master 4d387c682 -> 095054b54


NO JIRA:
- Changed the code to be java 1.6 compliant.


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/095054b5
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/095054b5
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/095054b5

Branch: refs/heads/master
Commit: 095054b540a0f1ab3ff6cf45e0f3ed097dc05c48
Parents: 4d387c6
Author: Christofer Dutz <christofer.dutz@c-ware.de>
Authored: Mon Nov 4 21:40:41 2013 +0100
Committer: Christofer Dutz <christofer.dutz@c-ware.de>
Committed: Mon Nov 4 21:40:41 2013 +0100

----------------------------------------------------------------------
 mavenizer/src/main/java/common/ConversionPlan.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/095054b5/mavenizer/src/main/java/common/ConversionPlan.java
----------------------------------------------------------------------
diff --git a/mavenizer/src/main/java/common/ConversionPlan.java b/mavenizer/src/main/java/common/ConversionPlan.java
index ec83ecf..3897b0e 100644
--- a/mavenizer/src/main/java/common/ConversionPlan.java
+++ b/mavenizer/src/main/java/common/ConversionPlan.java
@@ -26,7 +26,7 @@ public class ConversionPlan {
                     }
                 }
                 // If all segments were equal, the string that has more segments wins.
-                return Integer.compare(versionSegments1.length, versionSegments2.length);
+                return Integer.valueOf(versionSegments1.length).compareTo(versionSegments2.length);
             }
         };
         versions = new TreeSet<String>(versionComparator);


Mime
View raw message