Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Nov 6, 2024
1 parent af473a1 commit 63a6a4f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/de/blau/android/listener/UploadListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private void addActionsForElement(@NonNull Actions actions, @NonNull List<Node>
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;
}
Expand All @@ -256,15 +256,14 @@ private void addActionsForElement(@NonNull Actions actions, @NonNull List<Node>
* 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<Node> movedNodes, final boolean hasTags, @NonNull final String currentPresetName) {
private void addGeometryActions(@NonNull Actions actions, @NonNull OsmElement element, @Nullable UndoElement original, List<Node> movedNodes,
final boolean hasTags, @NonNull final String currentPresetName) {
if (original == null) {
return;
}
Expand Down

0 comments on commit 63a6a4f

Please sign in to comment.