Skip to content

Commit

Permalink
Fixed bug with a variable name error popping up unexpectedly when try…
Browse files Browse the repository at this point in the history
…ing to insert a variable tag

(cherry picked from commit e127a6a)
  • Loading branch information
ddwightx committed Mar 24, 2022
1 parent 611c16f commit 0a855fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group 'com.synfron.reshaper.burp'
version '1.8.0'
version '1.8.1'

targetCompatibility = '15'
sourceCompatibility = '15'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public EventVariableTagWizardModel(List<VariableSourceEntry> entries) {
.distinct()
.sorted(String::compareToIgnoreCase)
.collect(Collectors.toList());
variableName = variableNames.stream().findFirst().orElse(null);
}

private void propertyChanged(String name, Object value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public GlobalVariableTagWizardModel(List<VariableSourceEntry> entries) {
.distinct()
.sorted(String::compareToIgnoreCase)
.collect(Collectors.toList());
variableName = variableNames.stream().findFirst().orElse(null);
}

private void propertyChanged(String name, Object value) {
Expand Down

0 comments on commit 0a855fc

Please sign in to comment.