refactor ordering

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

Branch: refs/heads/MARMOTTA-228
Commit: 49d098fdc1700e9f8d971ee3b8c8b7dc326baade
Parents: 99af886
Author: tkurz <[email protected]>
Authored: Mon May 13 15:45:07 2013 +0200
Committer: tkurz <[email protected]>
Committed: Mon May 13 15:45:07 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/49d098fd/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 8e4c9ab..0170e0c 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
@@ -263,7 +263,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(o)).compareTo(container_weight.get(o2));
+                return 
((Integer)container_weight.get(o2)).compareTo(container_weight.get(o));
             }
         });
         return sorted;

Reply via email to