Skip to content

Commit

Permalink
Merge pull request #92 from gounthar/spotbugs-issue
Browse files Browse the repository at this point in the history
Fix Spotbugs-detected "Primitive field is public and set from inside the class." issue
  • Loading branch information
gounthar authored Feb 21, 2024
2 parents 38a34a7 + 48593c1 commit 5183947
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Licensed under [MIT Licence].

About
-----
Allows you to perfrom maven release builds from within Jenkins.
Allows you to perform maven release builds from within Jenkins.

Wiki and Info
-------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ public class M2ReleaseBuildWrapper extends BuildWrapper {
private String releaseEnvVar = DescriptorImpl.DEFAULT_RELEASE_ENVVAR;
private String releaseGoals = DescriptorImpl.DEFAULT_RELEASE_GOALS;
private String dryRunGoals = DescriptorImpl.DEFAULT_DRYRUN_GOALS;
public boolean selectCustomScmCommentPrefix = DescriptorImpl.DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX;
public boolean selectAppendHudsonUsername = DescriptorImpl.DEFAULT_SELECT_APPEND_HUDSON_USERNAME;
private boolean selectCustomScmCommentPrefix = DescriptorImpl.DEFAULT_SELECT_CUSTOM_SCM_COMMENT_PREFIX;
private boolean selectAppendHudsonUsername = DescriptorImpl.DEFAULT_SELECT_APPEND_HUDSON_USERNAME;
public boolean selectScmCredentials = DescriptorImpl.DEFAULT_SELECT_SCM_CREDENTIALS;

public int numberOfReleaseBuildsToKeep = DescriptorImpl.DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP;
private int numberOfReleaseBuildsToKeep = DescriptorImpl.DEFAULT_NUMBER_OF_RELEASE_BUILDS_TO_KEEP;

@DataBoundConstructor
public M2ReleaseBuildWrapper(String releaseGoals, String dryRunGoals, boolean selectCustomScmCommentPrefix, boolean selectAppendHudsonUsername, boolean selectScmCredentials, String releaseEnvVar, String scmUserEnvVar, String scmPasswordEnvVar, int numberOfReleaseBuildsToKeep) {
Expand Down

0 comments on commit 5183947

Please sign in to comment.