You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description = "The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.",
33
36
example = "com.fasterxml.jackson*")
34
-
StringgroupId;
37
+
privatefinalStringgroupId;
35
38
36
39
@Option(displayName = "Artifact",
37
40
description = "The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.",
38
41
example = "jackson-module*")
39
-
StringartifactId;
42
+
privatefinalStringartifactId;
40
43
41
44
@Option(displayName = "New version",
42
-
description = "An exact version number or node-style semver selector used to select the version number.",
45
+
description = "An exact version number or node-style semver selector used to select the version number.",
43
46
example = "29.X")
44
-
StringnewVersion;
47
+
privatefinalStringnewVersion;
45
48
46
49
@Option(displayName = "Version pattern",
47
50
description = "Allows version selection to be extended beyond the original Node Semver semantics. So for example," +
48
51
"Setting 'version' to \"25-29\" can be paired with a metadata pattern of \"-jre\" to select Guava 29.0-jre",
49
52
example = "-jre",
50
53
required = false)
51
54
@Nullable
52
-
StringversionPattern;
55
+
privatefinalStringversionPattern;
53
56
54
57
@Option(displayName = "Override managed version",
55
58
description = "For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.",
56
59
required = false)
57
60
@Nullable
58
-
BooleanoverrideManagedVersion;
61
+
privatefinalBooleanoverrideManagedVersion;
59
62
60
63
@Option(displayName = "Retain versions",
61
64
description = "For Maven project only, Accepts a list of GAVs. For each GAV, if it is a project direct dependency, and it is removed "
@@ -64,7 +67,7 @@ public class UpgradeDependencyVersion extends Recipe {
64
67
example = "com.jcraft:jsch",
65
68
required = false)
66
69
@Nullable
67
-
List<String> retainVersions;
70
+
privatefinalList<String> retainVersions;
68
71
69
72
@Override
70
73
publicStringgetDisplayName() {
@@ -85,30 +88,17 @@ public String getDescription() {
0 commit comments