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; }