From 00c5908c86e10c36cc5ce5f0ef18b46a1eefc72b Mon Sep 17 00:00:00 2001 From: Luc Maisonobe <luc@orekit.org> Date: Tue, 20 Sep 2016 20:02:20 +0200 Subject: [PATCH] Fixed checkstyle warning. --- src/main/java/org/orekit/rugged/refraction/MultiLayerModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/orekit/rugged/refraction/MultiLayerModel.java b/src/main/java/org/orekit/rugged/refraction/MultiLayerModel.java index 7b110ff2..849ad63f 100644 --- a/src/main/java/org/orekit/rugged/refraction/MultiLayerModel.java +++ b/src/main/java/org/orekit/rugged/refraction/MultiLayerModel.java @@ -83,7 +83,7 @@ public class MultiLayerModel implements AtmosphericRefraction { this.ellipsoid = ellipsoid; this.refractionLayers = new ArrayList<>(refractionLayers); Collections.sort(this.refractionLayers, - (l1, l2) -> Double.compare(l2.getLowestAltitude(), l1.getLowestAltitude())); + (l1, l2) -> Double.compare(l2.getLowestAltitude(), l1.getLowestAltitude())); atmosphereLowestAltitude = this.refractionLayers.get(this.refractionLayers.size() - 1).getLowestAltitude(); } -- GitLab