You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by th...@apache.org on 2014/06/30 00:24:38 UTC

git commit: Fixes an exception caused by the implementation of TAP5-2358.

Repository: tapestry-5
Updated Branches:
  refs/heads/master a2fac6be8 -> aab59abec


Fixes an exception caused by the implementation of TAP5-2358.

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/aab59abe
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/aab59abe
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/aab59abe

Branch: refs/heads/master
Commit: aab59abec15d6c51321d028cb285da60ad97c2ae
Parents: a2fac6b
Author: Thiago H. de Paula Figueiredo <th...@apache.org>
Authored: Sun Jun 29 19:24:19 2014 -0300
Committer: Thiago H. de Paula Figueiredo <th...@apache.org>
Committed: Sun Jun 29 19:24:19 2014 -0300

----------------------------------------------------------------------
 .../java/org/apache/tapestry5/ioc/internal/RegistryImpl.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/aab59abe/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java
----------------------------------------------------------------------
diff --git a/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java b/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java
index 3ef57c6..3709fa8 100644
--- a/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java
+++ b/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java
@@ -1216,12 +1216,11 @@ public class RegistryImpl implements Registry, InternalRegistry, ServiceProxyPro
     }
     
     final private static class ModuleComparator implements Comparator<Module> {
-
         @Override
         public int compare(Module m1, Module m2)
         {
-            return m1.getModuleBuilder().getClass().getName().compareTo(m2.getModuleBuilder().getClass().getName());
+            return m1.getLoggerName().compareTo(m2.getLoggerName());
         }
-        
     }
+    
 }