From fc2218e5d2fd972ef9467a856cfcf0bd172ec90b Mon Sep 17 00:00:00 2001 From: long76 <18124433+long76@users.noreply.github.com> Date: Thu, 6 Jun 2024 21:02:57 +0300 Subject: [PATCH] remove unnecessary DataBoundSetter for headName --- src/main/java/hudson/plugins/mercurial/MercurialSCM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/hudson/plugins/mercurial/MercurialSCM.java b/src/main/java/hudson/plugins/mercurial/MercurialSCM.java index 8b5099d3..24a50831 100755 --- a/src/main/java/hudson/plugins/mercurial/MercurialSCM.java +++ b/src/main/java/hudson/plugins/mercurial/MercurialSCM.java @@ -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; }