Skip to content

Commit

Permalink
Fix issue where old/new names were reversed
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Nov 4, 2024
1 parent d80dd2c commit 8877196
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public void primitivesRemoved(PrimitivesRemovedEvent event) {
public void tagsChanged(TagsChangedEvent event) {
final String[] oldNew = getOldNewName(event);
if (oldNew.length == 2) {
String newName = oldNew[0];
String oldName = oldNew[1];
String newName = oldNew[1];
String oldName = oldNew[0];
if (newName.equals(oldName))
return;
performTagChanges(oldName, Collections.singleton(event));
Expand Down

0 comments on commit 8877196

Please sign in to comment.