diff options
author | Thomas Knall <t.knall@datentechnik-innovation.com> | 2015-02-05 16:53:03 +0100 |
---|---|---|
committer | Thomas Knall <t.knall@datentechnik-innovation.com> | 2015-02-05 16:53:03 +0100 |
commit | 63fb8960f4a72f9185d2dc4735d8bae602463e1c (patch) | |
tree | e513e03bf66907615870a4e488e556c2e4e5c346 /id/server/idserverlib/src/main/java | |
parent | 74a42b6128f6f8d21a65dddb9405cd52ebbc0520 (diff) | |
download | moa-id-spss-63fb8960f4a72f9185d2dc4735d8bae602463e1c.tar.gz moa-id-spss-63fb8960f4a72f9185d2dc4735d8bae602463e1c.tar.bz2 moa-id-spss-63fb8960f4a72f9185d2dc4735d8bae602463e1c.zip |
Fix wrong module sorting order.
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/modules/registration/ModuleRegistration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/modules/registration/ModuleRegistration.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/modules/registration/ModuleRegistration.java index c2a34ff21..fa1878e74 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/modules/registration/ModuleRegistration.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/modules/registration/ModuleRegistration.java @@ -122,7 +122,7 @@ public class ModuleRegistration { public int compare(AuthModule thisAuthModule, AuthModule otherAuthModule) { int thisOrder = thisAuthModule.getPriority(); int otherOrder = otherAuthModule.getPriority(); - return (thisOrder < otherOrder ? -1 : (thisOrder == otherOrder ? 0 : 1)); + return (thisOrder < otherOrder ? 1 : (thisOrder == otherOrder ? 0 : -1)); } }); } |