Skip to content

Commit bf0b46c

Browse files
committed
Apply new spotless release to source code
1 parent ef93d5f commit bf0b46c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/jenkinsci/plugins/badge/action/AbstractBadgeAction.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public static String getJenkinsColorStyle(@NonNull String color) {
292292
}
293293
// https://github.com/jenkinsci/jenkins/blob/master/src/main/scss/abstracts/_theme.scss
294294
return switch (primary) {
295-
// palette
295+
// palette
296296
case "blue",
297297
"brown",
298298
"cyan",
@@ -305,9 +305,9 @@ public static String getJenkinsColorStyle(@NonNull String color) {
305305
"yellow",
306306
"white",
307307
"black" -> "var(--" + color + ")";
308-
// semantics
309-
case "accent", "text", "error", "warning", "success", "destructive", "build", "danger", "info" -> "var(--"
310-
+ color + "-color)";
308+
// semantics
309+
case "accent", "text", "error", "warning", "success", "destructive", "build", "danger", "info" ->
310+
"var(--" + color + "-color)";
311311
default -> color;
312312
};
313313
}

0 commit comments

Comments
 (0)