Skip to content

Commit

Permalink
remove unnecessary DataBoundSetter for headName
Browse files Browse the repository at this point in the history
  • Loading branch information
long76 authored Jun 6, 2024
1 parent d168208 commit fc2218e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/mercurial/MercurialSCM.java
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public boolean isDisableChangeLog() {
return headName;
}

@DataBoundSetter public final void setHeadName(@NonNull String headName) {
public final void setHeadName(@NonNull String headName) {
this.headName = Util.fixEmpty(headName) == null ? "default" : headName;
}

Check warning on line 311 in src/main/java/hudson/plugins/mercurial/MercurialSCM.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered lines

Lines 306-311 are not covered by tests

Expand Down

0 comments on commit fc2218e

Please sign in to comment.