From 906ab7cdc1d726eb3a4f0bfe721f82769b4a7740 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:13:53 +0000 Subject: [PATCH 1/2] Bump com.github.ie3-institute:PowerSystemUtils from 2.2 to 2.2.1 Bumps [com.github.ie3-institute:PowerSystemUtils](https://github.com/ie3-institute/PowerSystemUtils) from 2.2 to 2.2.1. - [Release notes](https://github.com/ie3-institute/PowerSystemUtils/releases) - [Changelog](https://github.com/ie3-institute/PowerSystemUtils/blob/main/CHANGELOG.md) - [Commits](https://github.com/ie3-institute/PowerSystemUtils/compare/v2.2.0...v2.2.1) --- updated-dependencies: - dependency-name: com.github.ie3-institute:PowerSystemUtils dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ae3fab0d6..ee26b7160 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,7 @@ repositories { dependencies { // ie³ power system utils - implementation 'com.github.ie3-institute:PowerSystemUtils:2.2' + implementation 'com.github.ie3-institute:PowerSystemUtils:2.2.1' implementation 'tech.units:indriya:2.2' From 7eaa2d59c9130717fab165d7584411a7d63a32f3 Mon Sep 17 00:00:00 2001 From: danielfeismann Date: Mon, 4 Mar 2024 16:14:19 +0100 Subject: [PATCH 2/2] change type declaration from SortedSet to List --- .../java/edu/ie3/datamodel/io/source/IdCoordinateSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/edu/ie3/datamodel/io/source/IdCoordinateSource.java b/src/main/java/edu/ie3/datamodel/io/source/IdCoordinateSource.java index 560b2a909..33e0daf58 100644 --- a/src/main/java/edu/ie3/datamodel/io/source/IdCoordinateSource.java +++ b/src/main/java/edu/ie3/datamodel/io/source/IdCoordinateSource.java @@ -95,7 +95,7 @@ List getClosestCoordinates( default List calculateCoordinateDistances( Point coordinate, int n, Collection coordinates) { if (coordinates != null && !coordinates.isEmpty()) { - SortedSet sortedDistances = + List sortedDistances = GeoUtils.calcOrderedCoordinateDistances(coordinate, coordinates); return restrictToBoundingBox(coordinate, sortedDistances, n); } else {