Skip to content

Commit

Permalink
Fix CheckStyle warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Dec 23, 2023
1 parent f08061d commit 9b8323c
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<j2html.version>1.4.0</j2html.version>
<streamex.version>0.8.2</streamex.version>
<testcontainers.version>1.19.3</testcontainers.version>
<codingstyle.library.version>3.30.0</codingstyle.library.version>
<codingstyle.library.version>3.31.0</codingstyle.library.version>
</properties>

<licenses>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/jenkins/plugins/util/JenkinsFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ private String getContextPath() {
*/
public String getAbsoluteUrl(final String... urlElements) {
return getAbsoluteUrl(StringUtils.join(urlElements, "/"));

}

private String getAbsoluteUrl(final String url) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ public int hashCode() {
}

private static class EmptyScanner extends AgentFileVisitor<String> {

private static final long serialVersionUID = 3700448215163706213L;

@VisibleForTesting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ void shouldNavigateToSelectedBuild() {
"spotbugs",
"last-build"))
.isEmpty();

}

@Test
Expand Down Expand Up @@ -108,5 +107,4 @@ void shouldNotFindBuildIfThereIsNoLastBuild() {
"wrong-selection"))
.isEmpty();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,4 @@ private void checkLoopWithNumberOfRuns(final int resolveVariablesDepth, final En

assertThat(expanded).isEqualTo(expected);
}

}

0 comments on commit 9b8323c

Please sign in to comment.