Repository: syncope Updated Branches: refs/heads/2_0_X 65a0f14d4 -> a2c5c100d
[SYNCOPE-1067] fix to build with Java7 Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/a2c5c100 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/a2c5c100 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/a2c5c100 Branch: refs/heads/2_0_X Commit: a2c5c100dcde30b5c4b32b644284353e22758aff Parents: 65a0f14 Author: fmartelli <fabio.marte...@gmail.com> Authored: Wed Jun 14 18:01:25 2017 +0200 Committer: fmartelli <fabio.marte...@gmail.com> Committed: Wed Jun 14 18:01:25 2017 +0200 ---------------------------------------------------------------------- .../org/apache/syncope/client/console/panels/RealmChoicePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/a2c5c100/client/console/src/main/java/org/apache/syncope/client/console/panels/RealmChoicePanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/RealmChoicePanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/RealmChoicePanel.java index 2204289..4f0bbde 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/panels/RealmChoicePanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/RealmChoicePanel.java @@ -123,7 +123,7 @@ public class RealmChoicePanel extends Panel { @Override protected List<DynRealmTO> load() { final List<DynRealmTO> dynRealms = realmRestClient.listDynReams(); - dynRealms.sort(new Comparator<DynRealmTO>() { + Collections.sort(dynRealms, new Comparator<DynRealmTO>() { @Override public int compare(final DynRealmTO left, final DynRealmTO right) {