From: Tuukka Lehtonen Date: Tue, 26 May 2020 09:12:37 +0000 (+0000) Subject: Merge "Upgrade to zt-process-killer 1.10 to fix illegal reflective access" X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1cf460c545a375ed24198baf0799855d7521cc9f;hp=7a9c8a454ae91b23afb11fe27042792ed9caee6f;p=simantics%2Fdistrict.git Merge "Upgrade to zt-process-killer 1.10 to fix illegal reflective access" --- diff --git a/org.simantics.district.selection/src/org/simantics/district/selection/ElementSelector.java b/org.simantics.district.selection/src/org/simantics/district/selection/ElementSelector.java index ff978059..6de06ff6 100644 --- a/org.simantics.district.selection/src/org/simantics/district/selection/ElementSelector.java +++ b/org.simantics.district.selection/src/org/simantics/district/selection/ElementSelector.java @@ -648,7 +648,7 @@ public class ElementSelector { // Select sorting direction Comparator> comparator = smallest ? (p1, p2) -> Double.compare(p1.second, p2.second) : - (p1, p2) -> Double.compare(p1.second, p2.second); + (p1, p2) -> Double.compare(p2.second, p1.second); // Get association list to property values List> result2 = elements.stream()