You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by tk...@apache.org on 2013/05/16 12:31:42 UTC

[12/14] git commit: cosmetic

cosmetic


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/10aff5ef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/10aff5ef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/10aff5ef

Branch: refs/heads/MARMOTTA-228
Commit: 10aff5efa9143420b7a9645484d93cc410514cf1
Parents: ffa3de0
Author: tkurz <tk...@apache.org>
Authored: Mon May 13 16:00:56 2013 +0200
Committer: tkurz <tk...@apache.org>
Committed: Mon May 13 16:00:56 2013 +0200

----------------------------------------------------------------------
 .../core/services/modules/ModuleServiceImpl.java   |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/10aff5ef/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/modules/ModuleServiceImpl.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/modules/ModuleServiceImpl.java b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/modules/ModuleServiceImpl.java
index 0170e0c..40df1c4 100644
--- a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/modules/ModuleServiceImpl.java
+++ b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/modules/ModuleServiceImpl.java
@@ -48,7 +48,6 @@ import java.util.*;
 public class ModuleServiceImpl implements ModuleService {
 
     private String default_container_name = "Others";
-    //private int default_container_number = 100;
 
     private Logger log = LoggerFactory.getLogger(ModuleServiceImpl.class);
 
@@ -263,7 +262,7 @@ public class ModuleServiceImpl implements ModuleService {
         Collections.sort(sorted,new Comparator<String>() {
             @Override
             public int compare(String o, String o2) {
-                return ((Integer)container_weight.get(o2)).compareTo(container_weight.get(o));
+                return container_weight.get(o2).compareTo(container_weight.get(o));
             }
         });
         return sorted;