From 63a6a4fb14be2c3b07aabd71357e6281eb48cf03 Mon Sep 17 00:00:00 2001 From: simonpoole Date: Wed, 6 Nov 2024 20:58:52 +0100 Subject: [PATCH] Remove unused parameter --- src/main/java/de/blau/android/listener/UploadListener.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/blau/android/listener/UploadListener.java b/src/main/java/de/blau/android/listener/UploadListener.java index bcd40e689..ef362fe14 100755 --- a/src/main/java/de/blau/android/listener/UploadListener.java +++ b/src/main/java/de/blau/android/listener/UploadListener.java @@ -239,7 +239,7 @@ private void addActionsForElement(@NonNull Actions actions, @NonNull List actions.deleted.add(!originalTags.isEmpty() ? getPresetName(matchOriginal) : getUntaggedString(element)); return; } - addGeometryActions(actions, presets, element, original, movedNodes, hasTags, currentPresetName); + addGeometryActions(actions, element, original, movedNodes, hasTags, currentPresetName); if (!hasTags) { return; } @@ -256,15 +256,14 @@ private void addActionsForElement(@NonNull Actions actions, @NonNull List * Add geometry changes for element * * @param actions container for the list of actions - * @param presets current presets * @param element the current element * @param original the elements original state * @param movedNodes list of moved nodes * @param hasTags true if element has tags * @param currentPresetName the name of the preset for element */ - private void addGeometryActions(@NonNull Actions actions, @NonNull Preset[] presets, @NonNull OsmElement element, @Nullable UndoElement original, - List movedNodes, final boolean hasTags, @NonNull final String currentPresetName) { + private void addGeometryActions(@NonNull Actions actions, @NonNull OsmElement element, @Nullable UndoElement original, List movedNodes, + final boolean hasTags, @NonNull final String currentPresetName) { if (original == null) { return; }