diff --git a/GlobalQuakeCore/src/main/java/globalquake/core/earthquake/EarthquakeAnalysis.java b/GlobalQuakeCore/src/main/java/globalquake/core/earthquake/EarthquakeAnalysis.java index 8b8bb303..88a34c87 100644 --- a/GlobalQuakeCore/src/main/java/globalquake/core/earthquake/EarthquakeAnalysis.java +++ b/GlobalQuakeCore/src/main/java/globalquake/core/earthquake/EarthquakeAnalysis.java @@ -805,7 +805,7 @@ public static List createListOfExactPickedEvents(List (int) (hypocenter2.correctStations * 1.3)) { - return hypocenter1; - } else if (hypocenter2.correctStations > (int) (hypocenter1.correctStations * 1.3)) { - return hypocenter2; - } else { - return calculateHeuristic(hypocenter1) > calculateHeuristic(hypocenter2) ? hypocenter1 : hypocenter2; - } + return calculateHeuristic(hypocenter1) > calculateHeuristic(hypocenter2) ? hypocenter1 : hypocenter2; } @SuppressWarnings("SameParameterValue")