Skip to content

Commit

Permalink
Fix Sonar java:S1700
Browse files Browse the repository at this point in the history
  • Loading branch information
Granie Laurent committed Apr 2, 2024
1 parent e1acd38 commit ec329ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/nl/lexemmens/podman/enumeration/PullPolicy.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ public enum PullPolicy {
*/
NEWER("newer");

private final String pullPolicy;
private final String value;

/**
* Constructor
* @param pullPolicy The pullpolicy to set
*/
PullPolicy(String pullPolicy) {
this.pullPolicy = pullPolicy;
PullPolicy(String value) {
this.value = value;
}

/**
* Returns the selected pullpolicy
* @return the selected pullpolicy
*/
public String getValue() {
return pullPolicy;
return value;
}
}

0 comments on commit ec329ce

Please sign in to comment.