From 2fe3f12a19c1ee8a02c110b112fae00816be5a65 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 11:05:21 +0530 Subject: [PATCH] [maven] (deps): Bump org.openrewrite.maven:rewrite-maven-plugin from 5.17.1 to 5.18.0 (#408) * [maven] (deps): Bump org.openrewrite.maven:rewrite-maven-plugin Bumps [org.openrewrite.maven:rewrite-maven-plugin](https://github.com/openrewrite/rewrite-maven-plugin) from 5.17.1 to 5.18.0. - [Release notes](https://github.com/openrewrite/rewrite-maven-plugin/releases) - [Commits](https://github.com/openrewrite/rewrite-maven-plugin/compare/v5.17.1...v5.18.0) --- updated-dependencies: - dependency-name: org.openrewrite.maven:rewrite-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * style: Formatted Java files * style: Corrected the format of variable arguments in a method of GUI constants class --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Saptarshi Sarkar --- CLI/src/main/java/backend/FileDownloader.java | 2 +- GUI/src/main/java/gui_support/Constants.java | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CLI/src/main/java/backend/FileDownloader.java b/CLI/src/main/java/backend/FileDownloader.java index 2b5f3e8af..e26c5813f 100644 --- a/CLI/src/main/java/backend/FileDownloader.java +++ b/CLI/src/main/java/backend/FileDownloader.java @@ -34,7 +34,7 @@ public FileDownloader(String link, String fileName, String dir) { link = "https://" + link; } if (link.startsWith("https://github.com/") || (link.startsWith("http://github.com/"))) { - if (!(link.endsWith("?raw=true"))) { + if (!link.endsWith("?raw=true")) { link = link + "?raw=true"; } } diff --git a/GUI/src/main/java/gui_support/Constants.java b/GUI/src/main/java/gui_support/Constants.java index 48192a4bb..45b8095ed 100644 --- a/GUI/src/main/java/gui_support/Constants.java +++ b/GUI/src/main/java/gui_support/Constants.java @@ -86,7 +86,7 @@ public static Scene getScene(Parent root) { return scene; } - public static void addCSS(Scene scene, URL ...css) { + public static void addCSS(Scene scene, URL... css) { for (URL url : css) { scene.getStylesheets().add(url.toExternalForm()); } diff --git a/pom.xml b/pom.xml index 9f212fa8c..5e9a9f4e1 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ org.openrewrite.maven rewrite-maven-plugin - 5.17.1 + 5.18.0 org.openrewrite.staticanalysis.CommonStaticAnalysis