Skip to content

Commit

Permalink
UNdo the incompatible change to the constructor
Browse files Browse the repository at this point in the history
My suggestion was applied but the suggestion was wrong.  Sorry about that.
The constructor should remain the same so we don't surprise consumers.
  • Loading branch information
MarkEWaite committed Jun 2, 2024
1 parent 639c99c commit c448c6c
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,16 @@ public class StringsMatchCondition extends AlwaysPrebuildRunCondition {

final String arg1;
final String arg2;
boolean ignoreCase;
final boolean ignoreCase;
boolean environmentVariables;

@DataBoundConstructor
public StringsMatchCondition(final String arg1, final String arg2) {
public StringsMatchCondition(final String arg1, final String arg2, final boolean ignoreCase) {
this.arg1 = arg1;
this.arg2 = arg2;


this.ignoreCase = ignoreCase;
}
@DataBoundSetter
public void setIgnoreCase(Boolean ignoreCase){

this.ignoreCase=ignoreCase;
}
@DataBoundSetter
public void setEnvironmentVariables(Boolean enviornmentVariables){

Expand Down

0 comments on commit c448c6c

Please sign in to comment.