From 59593e8e36f07efa73254eb076fa8c55a24a2493 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Mon, 18 Mar 2024 15:25:28 +0100 Subject: [PATCH 01/11] Readme modification Grouping of errors by changes Generation of a file by breaking dependency update --- .idea/.gitignore | 2 + Resources/template.md | 16 ++++ src/main/java/se/kth/Main.java | 2 +- .../se/kth/breaking_changes/ApiMetadata.java | 5 +- .../kth/breaking_changes/JApiCmpAnalyze.java | 2 + .../java/se/kth/breaking_changes/Main.java | 67 ++++++++------- src/main/java/se/kth/core/Main.java | 2 +- src/main/java/se/kth/data/Main.java | 15 ++-- .../explaining/CompilationErrorTemplate.java | 85 ++++++++++++++++--- .../kth/explaining/ExplanationTemplate.java | 33 ++++--- 10 files changed, 159 insertions(+), 70 deletions(-) create mode 100644 Resources/template.md diff --git a/.idea/.gitignore b/.idea/.gitignore index 13566b8..a9d7db9 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -6,3 +6,5 @@ # Datasource local storage ignored files /dataSources/ /dataSources.local.xml +# GitHub Copilot persisted chat sessions +/copilot/chatSessions diff --git a/Resources/template.md b/Resources/template.md new file mode 100644 index 0000000..2507811 --- /dev/null +++ b/Resources/template.md @@ -0,0 +1,16 @@ +CI detected that the dependency upgrade from version **org.A.1.0** to **org.A.2.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes 4 instructions which has been modified in the new version of the dependency. +
Instruction **%s** + ### Heading + 1. Foo + 2. Bar + * Baz + * Qux + + ### Some Javascript + ```js + function logSomething(something) { + console.log('Something', something); + } + ``` +
diff --git a/src/main/java/se/kth/Main.java b/src/main/java/se/kth/Main.java index 87b78b2..affbbf6 100644 --- a/src/main/java/se/kth/Main.java +++ b/src/main/java/se/kth/Main.java @@ -80,7 +80,7 @@ public void run() { try { Changes changes = combineResults.analyze(); changes.changes().forEach(change -> { - ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, change); + ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, "Explanation"); explanationTemplate.generateTemplate(); } ); diff --git a/src/main/java/se/kth/breaking_changes/ApiMetadata.java b/src/main/java/se/kth/breaking_changes/ApiMetadata.java index 79e5083..10234c0 100644 --- a/src/main/java/se/kth/breaking_changes/ApiMetadata.java +++ b/src/main/java/se/kth/breaking_changes/ApiMetadata.java @@ -25,7 +25,7 @@ public class ApiMetadata { private static final Map repositoryUrls = Map.of( "mavenCentral", "https://repo1.maven.org/maven2/", - "jenkins","https://repo.jenkins-ci.org/artifactory/releases/" + "jenkins", "https://repo.jenkins-ci.org/artifactory/releases/" ); @@ -48,9 +48,6 @@ public String getName() { * @return true if the download was successful, false otherwise */ public static boolean download(String groupId, String artifactId, String version) { - - - /* * Maven repository link for the previous version of the dependency */ diff --git a/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java b/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java index a997b6c..4cf428b 100644 --- a/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java +++ b/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java @@ -30,6 +30,8 @@ import java.nio.file.Path; import java.util.*; +@lombok.Setter +@lombok.Getter public class JApiCmpAnalyze { private static final Logger log = LoggerFactory.getLogger(JApiCmpAnalyze.class); diff --git a/src/main/java/se/kth/breaking_changes/Main.java b/src/main/java/se/kth/breaking_changes/Main.java index c372761..c63e3d5 100644 --- a/src/main/java/se/kth/breaking_changes/Main.java +++ b/src/main/java/se/kth/breaking_changes/Main.java @@ -4,6 +4,7 @@ import java.nio.file.Path; import java.util.List; +import java.util.Set; import static se.kth.data.Main.getBreakingCommit; @@ -11,44 +12,44 @@ public class Main { public static void main(String[] args) { -// JApiCmpAnalyze jApiCmpAnalyze = new JApiCmpAnalyze( -// Path.of("/Users/frank/Documents/Work/PHD/Tools/bump_experiments/jars/0abf7148300f40a1da0538ab060552bca4a2f1d8/jasperreports-6.18.1.jar"), -// Path.of("/Users/frank/Documents/Work/PHD/Tools/bump_experiments/jars/0abf7148300f40a1da0538ab060552bca4a2f1d8/jasperreports-6.19.1.jar") -// ); -// -// Set apiChanges = jApiCmpAnalyze.useJApiCmp(); -// -// for (ApiChange apiChange : apiChanges) { -// System.out.println(apiChange); -// } - + JApiCmpAnalyze jApiCmpAnalyze = new JApiCmpAnalyze( + Path.of("/Users/frank/Documents/Work/PHD/Tools/bump_experiments/jars/0abf7148300f40a1da0538ab060552bca4a2f1d8/jasperreports-6.18.1.jar"), + Path.of("/Users/frank/Documents/Work/PHD/Tools/bump_experiments/jars/0abf7148300f40a1da0538ab060552bca4a2f1d8/jasperreports-6.19.1.jar") + ); - List list = - getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); + Set apiChanges = jApiCmpAnalyze.useJApiCmp(); + for (ApiChange apiChange : apiChanges) { + System.out.println(apiChange); + } - for (BreakingUpdateMetadata breakingUpdate : list) { - boolean result = ApiMetadata.download(breakingUpdate.updatedDependency().dependencyGroupID(), - breakingUpdate.updatedDependency().dependencyArtifactID(), - breakingUpdate.updatedDependency().newVersion()); - - if (result) { - System.out.println("Downloaded " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); - } else { - System.out.println("Failed to download " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); - } - - result = ApiMetadata.download(breakingUpdate.updatedDependency().dependencyGroupID(), - breakingUpdate.updatedDependency().dependencyArtifactID(), - breakingUpdate.updatedDependency().previousVersion()); - if (result) { - System.out.println("Downloaded " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); - } else { - System.out.println("Failed to download " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); - } +// List list = +// getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); +// +// +// for (BreakingUpdateMetadata breakingUpdate : list) { +// boolean result = ApiMetadata.download(breakingUpdate.updatedDependency().dependencyGroupID(), +// breakingUpdate.updatedDependency().dependencyArtifactID(), +// breakingUpdate.updatedDependency().newVersion()); +// +// if (result) { +// System.out.println("Downloaded " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); +// } else { +// System.out.println("Failed to download " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); +// } +// +// result = ApiMetadata.download(breakingUpdate.updatedDependency().dependencyGroupID(), +// breakingUpdate.updatedDependency().dependencyArtifactID(), +// breakingUpdate.updatedDependency().previousVersion()); +// +// if (result) { +// System.out.println("Downloaded " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); +// } else { +// System.out.println("Failed to download " + breakingUpdate.updatedDependency().dependencyArtifactID() + "-" + breakingUpdate.updatedDependency().newVersion()); +// } - } +// } } diff --git a/src/main/java/se/kth/core/Main.java b/src/main/java/se/kth/core/Main.java index a3103e3..b33b52d 100644 --- a/src/main/java/se/kth/core/Main.java +++ b/src/main/java/se/kth/core/Main.java @@ -40,7 +40,7 @@ public static void main(String[] args) { changes.changes().forEach(change -> { - ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, change); + ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, "change"); explanationTemplate.generateTemplate(); } ); diff --git a/src/main/java/se/kth/data/Main.java b/src/main/java/se/kth/data/Main.java index d665586..80c9b48 100644 --- a/src/main/java/se/kth/data/Main.java +++ b/src/main/java/se/kth/data/Main.java @@ -21,7 +21,7 @@ public class Main { public static void main(String[] args) { - List list = getBreakingCommit(Path.of("examples/BENCHMARK")); + List list = getBreakingCommit(Path.of("examples/Benchmark")); List compilationErrors = list.stream().filter(b -> b.failureCategory().equals("COMPILATION_FAILURE")).toList(); @@ -66,6 +66,9 @@ public static void generateTemplate(List breakingUpdateL jars.resolve("%s/%s-%s.jar".formatted(breakingUpdate.breakingCommit(), breakingUpdate.updatedDependency().dependencyArtifactID(), breakingUpdate.updatedDependency().previousVersion())), jars.resolve("%s/%s-%s.jar".formatted(breakingUpdate.breakingCommit(), breakingUpdate.updatedDependency().dependencyArtifactID(), breakingUpdate.updatedDependency().newVersion())) ); + + System.out.println(jApiCmpAnalyze); + Set apiChanges = jApiCmpAnalyze.useJApiCmp(); CombineResults combineResults = new CombineResults(apiChanges); @@ -81,13 +84,9 @@ public static void generateTemplate(List breakingUpdateL Changes changes = combineResults.analyze(); - changes.changes().forEach(change -> { - ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, change); - explanationTemplate.generateTemplate(); - } - ); - - + System.out.println("Changes: " + changes.changes().size()); + ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, breakingUpdate.breakingCommit()); + explanationTemplate.generateTemplate(); } catch (IOException e) { throw new RuntimeException(e); } diff --git a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java index ba11f00..48fdf87 100644 --- a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java +++ b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java @@ -6,36 +6,99 @@ public class CompilationErrorTemplate extends ExplanationTemplate { - public CompilationErrorTemplate(Changes changes, BreakingChange breakingChange) { - super(changes, breakingChange); + public CompilationErrorTemplate(Changes changes, String fileName) { + super(changes, fileName); } @Override public String getHead() { + BreakingChange breakingChange = changes.changes().iterator().next(); + return "CI detected that the dependency upgrade from version **%s** to **%s** has failed. Here are details to help you understand and fix the problem:" .formatted(breakingChange.getApiChanges().getOldVersion().getName(), breakingChange.getApiChanges().getNewVersion().getName()); } @Override public String clientError() { - return ("3. An error was detected in line %s which is making use of an outdated API.\n " + - "``` java\n %s %s;\n ```").formatted(breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), - breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), breakingChange.getErrorInfo().getClientLine()); + return ""; +// return ("3. An error was detected in line %s which is making use of an outdated API.\n " + +// "``` java\n %s %s;\n ```").formatted(breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), +// breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), breakingChange.getErrorInfo().getClientLine()); + + } + public String clientErrorLine(BreakingChange breakingChange) { + return " * An error was detected in line %s which is making use of an outdated API.\n".formatted(breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition()) + + " ``` java\n" + + " %s %s;\n".formatted(breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), breakingChange.getErrorInfo().getClientLine()) + + " ```\n"; } @Override public String logLine() { - return ("2. The failure is identified from the logs generated in the build process\n " + - "\n" + - ">[%s](%s)").formatted(breakingChange.getErrorInfo().getErrorInfo().getErrorMessage(), breakingChange.getErrorInfo().getErrorInfo().getErrorLogGithubLink()); + return ""; + } + + + public String logLineew(BreakingChange breakingChange) { + return " * >[%s](%s)\n".formatted(breakingChange.getErrorInfo().getErrorInfo().getErrorMessage(), breakingChange.getErrorInfo().getErrorInfo().getErrorLogGithubLink()); } + @Override - public String type() { - return "1. Your client utilizes the instruction **%s** which has been modified in the new version of the dependency." - .formatted(breakingChange.getApiChanges().getOldElement()); + public String brokenElement() { + +// String message = "1. Your client utilizes the instruction **%s** which has been modified in the new version of the dependency." +// .formatted(breakingChange.getApiChanges().getOldElement()); + + String message = ""; + // if there are more than one changes + if (!changes.changes().isEmpty()) { + String firstLine = "1. Your client utilizes **%d** instructions which has been modified in the new version of the dependency." + .formatted(changes.changes().size()); + + String text = ""; + for (BreakingChange changes : changes.changes()) { + + String category = translateCategory(changes.getApiChanges().getCategory()); + + String description = " *
\n" + + " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getApiChanges().getOldElement(), category) + + "\n" + + " ### Heading\n" + + " 1. Foo\n" + + " 2. Bar\n" + + " * Baz\n" + + " * Qux\n" + + "
\n" + + " "; + + + String singleChange = " *
\n" + + " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getApiChanges().getOldElement(), category) + + " \n" + + " *
\n" + + " The failure is identified from the logs generated in the build process. \n" + + " \n" + + logLineew(changes) + + clientErrorLine(changes) + + "\n" + + "
\n" + + " \n" + + "
\n"; + + text = text.concat(singleChange); + + } + + + message = firstLine + "\n" + text; + + + } + + return message; } diff --git a/src/main/java/se/kth/explaining/ExplanationTemplate.java b/src/main/java/se/kth/explaining/ExplanationTemplate.java index 5920d65..ddf0f9b 100644 --- a/src/main/java/se/kth/explaining/ExplanationTemplate.java +++ b/src/main/java/se/kth/explaining/ExplanationTemplate.java @@ -1,20 +1,21 @@ package se.kth.explaining; -import se.kth.core.BreakingChange; import se.kth.core.Changes; import java.io.FileWriter; import java.io.IOException; -import java.util.Date; + +import static java.lang.Thread.sleep; public abstract class ExplanationTemplate { protected Changes changes; - BreakingChange breakingChange; - public ExplanationTemplate(Changes changes, BreakingChange breakingChange) { + protected String fileName; + + public ExplanationTemplate(Changes changes, String fileName) { this.changes = changes; - this.breakingChange = breakingChange; + this.fileName = fileName; } @@ -24,22 +25,30 @@ public ExplanationTemplate(Changes changes, BreakingChange breakingChange) { public abstract String logLine(); - public abstract String type(); + public abstract String brokenElement(); + + public String translateCategory(String category) { + return switch (category) { + case "[METHOD_REMOVED]" -> "removed"; + case "[METHOD_ADDED]" -> "added"; + default -> ""; + }; + } public void generateTemplate() { + + FileWriter markdownFile = null; try { - markdownFile = new FileWriter("Explanation_" + new Date().getTime() + ".md"); + markdownFile = new FileWriter("Explanation_%s.md".formatted(fileName)); markdownFile.write(getHead()); markdownFile.write("\n"); - markdownFile.write(type()); - markdownFile.write("\n"); - markdownFile.write(logLine()); + markdownFile.write(brokenElement()); markdownFile.write("\n"); - markdownFile.write(clientError()); markdownFile.write("\n"); markdownFile.close(); // - } catch (IOException e) { + sleep(3000); + } catch (IOException | InterruptedException e) { throw new RuntimeException(e); } } From 2637a0776b68ac49da60afc1d09b1fa79fdb3731 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Mon, 18 Mar 2024 16:57:53 +0100 Subject: [PATCH 02/11] Initial template --- ...0d7545c5771b03dd9f6122bd5973a759eb2cd03.md | 19 ++++++ ...15827c6675f532a4d33751d1a0c0ba394bbd304.md | 0 ...3b3a858b77ec27fc8946aba292001c3de465012.md | 0 ...cf5a482bd430d81257b4ecd85b3d4f7da911621.md | 0 ...e1f0f08eef839903067c7c11432117c4897d0cd.md | 0 ...e16b526695fe275ab5e6a1992916875d26da860.md | 64 +++++++++++++++++++ ...d3ce213e2771c6ef7817c80818807a757d4e94a.md | 0 ...3af06df4613be146bb9f8034e1a8a3098050c82.md | 64 +++++++++++++++++++ Resources/findings.md | 3 + src/main/java/se/kth/data/Main.java | 5 +- .../explaining/CompilationErrorTemplate.java | 14 +--- .../kth/explaining/ExplanationTemplate.java | 2 +- 12 files changed, 155 insertions(+), 16 deletions(-) create mode 100644 Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md create mode 100644 Explanations/115827c6675f532a4d33751d1a0c0ba394bbd304.md create mode 100644 Explanations/43b3a858b77ec27fc8946aba292001c3de465012.md create mode 100644 Explanations/5cf5a482bd430d81257b4ecd85b3d4f7da911621.md create mode 100644 Explanations/8e1f0f08eef839903067c7c11432117c4897d0cd.md create mode 100644 Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md create mode 100644 Explanations/bd3ce213e2771c6ef7817c80818807a757d4e94a.md create mode 100644 Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md create mode 100644 Resources/findings.md diff --git a/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md b/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md new file mode 100644 index 0000000..5e5f9f1 --- /dev/null +++ b/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md @@ -0,0 +1,19 @@ +CI detected that the dependency upgrade from version **dropwizard-client-2.1.5** to **dropwizard-client-4.0.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instructions which has been modified in the new version of the dependency. + *
+ Instruction using() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /lithium/src/main/java/com/wire/lithium/Server.java:[160,16] cannot access io.dropwizard.core.setup.Environment](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2818) + * An error was detected in line 160 which is making use of an outdated API. + ``` java + 160 new io.dropwizard.client.JerseyClientBuilder(env).using(config.getJerseyClient()); + ``` + +
+ +
+ + diff --git a/Explanations/115827c6675f532a4d33751d1a0c0ba394bbd304.md b/Explanations/115827c6675f532a4d33751d1a0c0ba394bbd304.md new file mode 100644 index 0000000..e69de29 diff --git a/Explanations/43b3a858b77ec27fc8946aba292001c3de465012.md b/Explanations/43b3a858b77ec27fc8946aba292001c3de465012.md new file mode 100644 index 0000000..e69de29 diff --git a/Explanations/5cf5a482bd430d81257b4ecd85b3d4f7da911621.md b/Explanations/5cf5a482bd430d81257b4ecd85b3d4f7da911621.md new file mode 100644 index 0000000..e69de29 diff --git a/Explanations/8e1f0f08eef839903067c7c11432117c4897d0cd.md b/Explanations/8e1f0f08eef839903067c7c11432117c4897d0cd.md new file mode 100644 index 0000000..e69de29 diff --git a/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md b/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md new file mode 100644 index 0000000..fc6ef12 --- /dev/null +++ b/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md @@ -0,0 +1,64 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-9.4.41.v20210516** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Instruction getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1177) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ +
+ *
+ Instruction setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1168) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ +
+ *
+ Instruction setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1165) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ +
+ *
+ Instruction setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1174) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ +
+ + diff --git a/Explanations/bd3ce213e2771c6ef7817c80818807a757d4e94a.md b/Explanations/bd3ce213e2771c6ef7817c80818807a757d4e94a.md new file mode 100644 index 0000000..e69de29 diff --git a/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md b/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md new file mode 100644 index 0000000..a378991 --- /dev/null +++ b/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md @@ -0,0 +1,64 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.8** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Instruction getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:848) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ +
+ *
+ Instruction setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:839) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ +
+ *
+ Instruction setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:836) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ +
+ *
+ Instruction setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:845) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ +
+ + diff --git a/Resources/findings.md b/Resources/findings.md new file mode 100644 index 0000000..eed1fc3 --- /dev/null +++ b/Resources/findings.md @@ -0,0 +1,3 @@ +### Breaking dependency updates +* Commit: 0ed34fa61c9e31bd4ebb7e4bf12ce792aec96091 + * Cambios detectados por maracas y por breaking good pero no hay nunguno relaciondo con el cliente. \ No newline at end of file diff --git a/src/main/java/se/kth/data/Main.java b/src/main/java/se/kth/data/Main.java index 80c9b48..310428a 100644 --- a/src/main/java/se/kth/data/Main.java +++ b/src/main/java/se/kth/data/Main.java @@ -21,7 +21,8 @@ public class Main { public static void main(String[] args) { - List list = getBreakingCommit(Path.of("examples/Benchmark")); + List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); +//List list = getBreakingCommit(Path.of("examples/Benchmark")); List compilationErrors = list.stream().filter(b -> b.failureCategory().equals("COMPILATION_FAILURE")).toList(); @@ -85,7 +86,7 @@ public static void generateTemplate(List breakingUpdateL System.out.println("Changes: " + changes.changes().size()); - ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, breakingUpdate.breakingCommit()); + ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, "Explanations/"+breakingUpdate.breakingCommit()+".md"); explanationTemplate.generateTemplate(); } catch (IOException e) { throw new RuntimeException(e); diff --git a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java index 48fdf87..6914137 100644 --- a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java +++ b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java @@ -63,20 +63,8 @@ public String brokenElement() { String category = translateCategory(changes.getApiChanges().getCategory()); - String description = " *
\n" + - " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getApiChanges().getOldElement(), category) + - "\n" + - " ### Heading\n" + - " 1. Foo\n" + - " 2. Bar\n" + - " * Baz\n" + - " * Qux\n" + - "
\n" + - " "; - - String singleChange = " *
\n" + - " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getApiChanges().getOldElement(), category) + + " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getErrorInfo().getElement(), category) + " \n" + " *
\n" + " The failure is identified from the logs generated in the build process. \n" + diff --git a/src/main/java/se/kth/explaining/ExplanationTemplate.java b/src/main/java/se/kth/explaining/ExplanationTemplate.java index ddf0f9b..8bbb3cc 100644 --- a/src/main/java/se/kth/explaining/ExplanationTemplate.java +++ b/src/main/java/se/kth/explaining/ExplanationTemplate.java @@ -40,7 +40,7 @@ public void generateTemplate() { FileWriter markdownFile = null; try { - markdownFile = new FileWriter("Explanation_%s.md".formatted(fileName)); + markdownFile = new FileWriter(fileName); markdownFile.write(getHead()); markdownFile.write("\n"); markdownFile.write(brokenElement()); From 2227d733c90ff66114c57ad23f484cf15a629afe Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Tue, 19 Mar 2024 13:18:48 +0100 Subject: [PATCH 03/11] Submit explanation with 100 lines --- ...0d7545c5771b03dd9f6122bd5973a759eb2cd03.md | 19 - ...15827c6675f532a4d33751d1a0c0ba394bbd304.md | 0 ...3b3a858b77ec27fc8946aba292001c3de465012.md | 0 ...cf5a482bd430d81257b4ecd85b3d4f7da911621.md | 0 ...e1f0f08eef839903067c7c11432117c4897d0cd.md | 0 ...e16b526695fe275ab5e6a1992916875d26da860.md | 64 --- ...d3ce213e2771c6ef7817c80818807a757d4e94a.md | 0 ...3af06df4613be146bb9f8034e1a8a3098050c82.md | 64 --- ...e15d2a6e52b049f6c9e7cc123a5402047a1f01a.md | 514 ++++++++++++++++++ src/main/java/se/kth/core/BreakingChange.java | 14 +- src/main/java/se/kth/core/CombineResults.java | 19 +- src/main/java/se/kth/data/Main.java | 4 +- .../explaining/CompilationErrorTemplate.java | 30 +- 13 files changed, 553 insertions(+), 175 deletions(-) delete mode 100644 Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md delete mode 100644 Explanations/115827c6675f532a4d33751d1a0c0ba394bbd304.md delete mode 100644 Explanations/43b3a858b77ec27fc8946aba292001c3de465012.md delete mode 100644 Explanations/5cf5a482bd430d81257b4ecd85b3d4f7da911621.md delete mode 100644 Explanations/8e1f0f08eef839903067c7c11432117c4897d0cd.md delete mode 100644 Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md delete mode 100644 Explanations/bd3ce213e2771c6ef7817c80818807a757d4e94a.md delete mode 100644 Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md create mode 100644 Resources/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md diff --git a/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md b/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md deleted file mode 100644 index 5e5f9f1..0000000 --- a/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md +++ /dev/null @@ -1,19 +0,0 @@ -CI detected that the dependency upgrade from version **dropwizard-client-2.1.5** to **dropwizard-client-4.0.0** has failed. Here are details to help you understand and fix the problem: -1. Your client utilizes **1** instructions which has been modified in the new version of the dependency. - *
- Instruction using() which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /lithium/src/main/java/com/wire/lithium/Server.java:[160,16] cannot access io.dropwizard.core.setup.Environment](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2818) - * An error was detected in line 160 which is making use of an outdated API. - ``` java - 160 new io.dropwizard.client.JerseyClientBuilder(env).using(config.getJerseyClient()); - ``` - -
- -
- - diff --git a/Explanations/115827c6675f532a4d33751d1a0c0ba394bbd304.md b/Explanations/115827c6675f532a4d33751d1a0c0ba394bbd304.md deleted file mode 100644 index e69de29..0000000 diff --git a/Explanations/43b3a858b77ec27fc8946aba292001c3de465012.md b/Explanations/43b3a858b77ec27fc8946aba292001c3de465012.md deleted file mode 100644 index e69de29..0000000 diff --git a/Explanations/5cf5a482bd430d81257b4ecd85b3d4f7da911621.md b/Explanations/5cf5a482bd430d81257b4ecd85b3d4f7da911621.md deleted file mode 100644 index e69de29..0000000 diff --git a/Explanations/8e1f0f08eef839903067c7c11432117c4897d0cd.md b/Explanations/8e1f0f08eef839903067c7c11432117c4897d0cd.md deleted file mode 100644 index e69de29..0000000 diff --git a/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md b/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md deleted file mode 100644 index fc6ef12..0000000 --- a/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md +++ /dev/null @@ -1,64 +0,0 @@ -CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-9.4.41.v20210516** has failed. Here are details to help you understand and fix the problem: -1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. - *
- Instruction getLocalPort() which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1177) - * An error was detected in line 80 which is making use of an outdated API. - ``` java - 80 httpConnector.getLocalPort(); - ``` - -
- -
- *
- Instruction setSendDateHeader(boolean) which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1168) - * An error was detected in line 34 which is making use of an outdated API. - ``` java - 34 this.server.setSendDateHeader(true); - ``` - -
- -
- *
- Instruction setSendServerVersion(boolean) which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1165) - * An error was detected in line 33 which is making use of an outdated API. - ``` java - 33 this.server.setSendServerVersion(false); - ``` - -
- -
- *
- Instruction setPort(int) which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1174) - * An error was detected in line 37 which is making use of an outdated API. - ``` java - 37 this.httpConnector.setPort(port); - ``` - -
- -
- - diff --git a/Explanations/bd3ce213e2771c6ef7817c80818807a757d4e94a.md b/Explanations/bd3ce213e2771c6ef7817c80818807a757d4e94a.md deleted file mode 100644 index e69de29..0000000 diff --git a/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md b/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md deleted file mode 100644 index a378991..0000000 --- a/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md +++ /dev/null @@ -1,64 +0,0 @@ -CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.8** has failed. Here are details to help you understand and fix the problem: -1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. - *
- Instruction getLocalPort() which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:848) - * An error was detected in line 80 which is making use of an outdated API. - ``` java - 80 httpConnector.getLocalPort(); - ``` - -
- -
- *
- Instruction setSendDateHeader(boolean) which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:839) - * An error was detected in line 34 which is making use of an outdated API. - ``` java - 34 this.server.setSendDateHeader(true); - ``` - -
- -
- *
- Instruction setSendServerVersion(boolean) which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:836) - * An error was detected in line 33 which is making use of an outdated API. - ``` java - 33 this.server.setSendServerVersion(false); - ``` - -
- -
- *
- Instruction setPort(int) which has been removed in the new version of the dependency - - *
- The failure is identified from the logs generated in the build process. - - * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:845) - * An error was detected in line 37 which is making use of an outdated API. - ``` java - 37 this.httpConnector.setPort(port); - ``` - -
- -
- - diff --git a/Resources/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md b/Resources/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md new file mode 100644 index 0000000..34ca75c --- /dev/null +++ b/Resources/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md @@ -0,0 +1,514 @@ +CI detected that the dependency upgrade from version **jaxb2-basics-runtime-0.13.1** to **jaxb2-basics-runtime-1.11.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instructions which has been modified in the new version of the dependency. + *
+ Instruction getInstance() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SupplierAddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1810) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[418,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1975) + * An error was detected in line 418 which is making use of an outdated API. + ``` java + 418 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[653,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1978) + * An error was detected in line 653 which is making use of an outdated API. + ``` java + 653 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1365,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1981) + * An error was detected in line 1365 which is making use of an outdated API. + ``` java + 1365 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1658,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1984) + * An error was detected in line 1658 which is making use of an outdated API. + ``` java + 1658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1844,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1987) + * An error was detected in line 1844 which is making use of an outdated API. + ``` java + 1844 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[2285,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1990) + * An error was detected in line 2285 which is making use of an outdated API. + ``` java + 2285 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[2605,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1993) + * An error was detected in line 2605 which is making use of an outdated API. + ``` java + 2605 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3293,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1996) + * An error was detected in line 3293 which is making use of an outdated API. + ``` java + 3293 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3581,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1999) + * An error was detected in line 3581 which is making use of an outdated API. + ``` java + 3581 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3833,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2002) + * An error was detected in line 3833 which is making use of an outdated API. + ``` java + 3833 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[4346,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2005) + * An error was detected in line 4346 which is making use of an outdated API. + ``` java + 4346 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[4665,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2008) + * An error was detected in line 4665 which is making use of an outdated API. + ``` java + 4665 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5154,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 5154 which is making use of an outdated API. + ``` java + 5154 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5379,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2014) + * An error was detected in line 5379 which is making use of an outdated API. + ``` java + 5379 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5560,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2017) + * An error was detected in line 5560 which is making use of an outdated API. + ``` java + 5560 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[6030,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2020) + * An error was detected in line 6030 which is making use of an outdated API. + ``` java + 6030 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SpecialRegimes.java:[108,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1936) + * An error was detected in line 108 which is making use of an outdated API. + ``` java + 108 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/Supplier.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1807) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/OrderReferences.java:[107,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2026) + * An error was detected in line 107 which is making use of an outdated API. + ``` java + 107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/References.java:[104,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2050) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Payment.java:[136,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2047) + * An error was detected in line 136 which is making use of an outdated API. + ``` java + 136 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Header.java:[658,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1813) + * An error was detected in line 658 which is making use of an outdated API. + ``` java + 658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/ShippingPointStructure.java:[185,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2032) + * An error was detected in line 185 which is making use of an outdated API. + ``` java + 185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/ShippingPointStructure.java:[185,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1927) + * An error was detected in line 185 which is making use of an outdated API. + ``` java + 185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/TaxTable.java:[85,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1957) + * An error was detected in line 85 which is making use of an outdated API. + ``` java + 85 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/MovementTax.java:[163,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1930) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/PaymentMethod.java:[136,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1909) + * An error was detected in line 136 which is making use of an outdated API. + ``` java + 136 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1819) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AuditFile.java:[405,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1822) + * An error was detected in line 405 which is making use of an outdated API. + ``` java + 405 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[552,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1840) + * An error was detected in line 552 which is making use of an outdated API. + ``` java + 552 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[792,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1843) + * An error was detected in line 792 which is making use of an outdated API. + ``` java + 792 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1504,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1846) + * An error was detected in line 1504 which is making use of an outdated API. + ``` java + 1504 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1798,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1849) + * An error was detected in line 1798 which is making use of an outdated API. + ``` java + 1798 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1984,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1852) + * An error was detected in line 1984 which is making use of an outdated API. + ``` java + 1984 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[2425,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1855) + * An error was detected in line 2425 which is making use of an outdated API. + ``` java + 2425 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[2753,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1858) + * An error was detected in line 2753 which is making use of an outdated API. + ``` java + 2753 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3326,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1861) + * An error was detected in line 3326 which is making use of an outdated API. + ``` java + 3326 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3590,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1864) + * An error was detected in line 3590 which is making use of an outdated API. + ``` java + 3590 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3814,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1867) + * An error was detected in line 3814 which is making use of an outdated API. + ``` java + 3814 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3914,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1870) + * An error was detected in line 3914 which is making use of an outdated API. + ``` java + 3914 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4186,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1873) + * An error was detected in line 4186 which is making use of an outdated API. + ``` java + 4186 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4353,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1876) + * An error was detected in line 4353 which is making use of an outdated API. + ``` java + 4353 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4625,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1879) + * An error was detected in line 4625 which is making use of an outdated API. + ``` java + 4625 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5321,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1882) + * An error was detected in line 5321 which is making use of an outdated API. + ``` java + 5321 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5610,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1885) + * An error was detected in line 5610 which is making use of an outdated API. + ``` java + 5610 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5862,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1888) + * An error was detected in line 5862 which is making use of an outdated API. + ``` java + 5862 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[6375,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1891) + * An error was detected in line 6375 which is making use of an outdated API. + ``` java + 6375 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[6695,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1894) + * An error was detected in line 6695 which is making use of an outdated API. + ``` java + 6695 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7185,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1897) + * An error was detected in line 7185 which is making use of an outdated API. + ``` java + 7185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7439,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1900) + * An error was detected in line 7439 which is making use of an outdated API. + ``` java + 7439 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7625,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1903) + * An error was detected in line 7625 which is making use of an outdated API. + ``` java + 7625 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[8095,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1906) + * An error was detected in line 8095 which is making use of an outdated API. + ``` java + 8095 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Supplier.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1951) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Settlement.java:[164,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1939) + * An error was detected in line 164 which is making use of an outdated API. + ``` java + 164 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1933) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedger.java:[275,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1945) + * An error was detected in line 275 which is making use of an outdated API. + ``` java + 275 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/Product.java:[218,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1969) + * An error was detected in line 218 which is making use of an outdated API. + ``` java + 218 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2059) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/AuditFile.java:[400,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2062) + * An error was detected in line 400 which is making use of an outdated API. + ``` java + 400 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Currency.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1915) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/MovementTax.java:[163,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2035) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AddressStructurePT.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1816) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[570,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2065) + * An error was detected in line 570 which is making use of an outdated API. + ``` java + 570 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[814,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2068) + * An error was detected in line 814 which is making use of an outdated API. + ``` java + 814 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[1557,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2071) + * An error was detected in line 1557 which is making use of an outdated API. + ``` java + 1557 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[1856,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2074) + * An error was detected in line 1856 which is making use of an outdated API. + ``` java + 1856 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2042,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2077) + * An error was detected in line 2042 which is making use of an outdated API. + ``` java + 2042 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2567,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2080) + * An error was detected in line 2567 which is making use of an outdated API. + ``` java + 2567 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2912,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2083) + * An error was detected in line 2912 which is making use of an outdated API. + ``` java + 2912 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[3514,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2086) + * An error was detected in line 3514 which is making use of an outdated API. + ``` java + 3514 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[3783,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2089) + * An error was detected in line 3783 which is making use of an outdated API. + ``` java + 3783 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4007,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2092) + * An error was detected in line 4007 which is making use of an outdated API. + ``` java + 4007 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4107,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2095) + * An error was detected in line 4107 which is making use of an outdated API. + ``` java + 4107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4407,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2098) + * An error was detected in line 4407 which is making use of an outdated API. + ``` java + 4407 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4579,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2101) + * An error was detected in line 4579 which is making use of an outdated API. + ``` java + 4579 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4856,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2104) + * An error was detected in line 4856 which is making use of an outdated API. + ``` java + 4856 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Settlement.java:[164,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2044) + * An error was detected in line 164 which is making use of an outdated API. + ``` java + 164 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[226,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1828) + * An error was detected in line 226 which is making use of an outdated API. + ``` java + 226 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[422,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1831) + * An error was detected in line 422 which is making use of an outdated API. + ``` java + 422 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[812,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1834) + * An error was detected in line 812 which is making use of an outdated API. + ``` java + 812 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[1113,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1837) + * An error was detected in line 1113 which is making use of an outdated API. + ``` java + 1113 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/TaxTableEntry.java:[252,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1960) + * An error was detected in line 252 which is making use of an outdated API. + ``` java + 252 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/PaymentTax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1918) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Tax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1924) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Tax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2029) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Currency.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2023) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2038) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Customer.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1948) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/WithholdingTax.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1912) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/WithholdingTax.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2041) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Header.java:[658,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1825) + * An error was detected in line 658 which is making use of an outdated API. + ``` java + 658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2053) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AuditFile.java:[405,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2056) + * An error was detected in line 405 which is making use of an outdated API. + ``` java + 405 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AddressStructurePT.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1966) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/References.java:[104,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1942) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Product.java:[190,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1954) + * An error was detected in line 190 which is making use of an outdated API. + ``` java + 190 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/OrderReferences.java:[107,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1921) + * An error was detected in line 107 which is making use of an outdated API. + ``` java + 107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SupplierAddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1963) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/CustomsDetails.java:[116,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1972) + * An error was detected in line 116 which is making use of an outdated API. + ``` java + 116 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + +
+ +
+ + diff --git a/src/main/java/se/kth/core/BreakingChange.java b/src/main/java/se/kth/core/BreakingChange.java index f36ca90..a3e9381 100644 --- a/src/main/java/se/kth/core/BreakingChange.java +++ b/src/main/java/se/kth/core/BreakingChange.java @@ -3,18 +3,22 @@ import se.kth.breaking_changes.ApiChange; import se.kth.spoon_compare.SpoonResults; +import java.util.ArrayList; +import java.util.List; +import java.util.Set; + @lombok.Setter @lombok.Getter public class BreakingChange { - public BreakingChange(ApiChange apiChanges, SpoonResults errorInfo) { + ApiChange apiChanges; + List errorInfo; + + public BreakingChange(ApiChange apiChanges) { this.apiChanges = apiChanges; - this.errorInfo = errorInfo; + this.errorInfo = new ArrayList<>(); } - ApiChange apiChanges; - SpoonResults errorInfo; - public BreakingChange() { } diff --git a/src/main/java/se/kth/core/CombineResults.java b/src/main/java/se/kth/core/CombineResults.java index 16ae053..cfe61cb 100644 --- a/src/main/java/se/kth/core/CombineResults.java +++ b/src/main/java/se/kth/core/CombineResults.java @@ -44,10 +44,9 @@ public Changes analyze() throws IOException { log.getErrorInfo().forEach((k, v) -> { SpoonAnalyzer spoonAnalyzer = new SpoonAnalyzer(dependencyGroupID, v); List results = spoonAnalyzer.applySpoon(project + k); + System.out.println(results.size()); findBreakingChanges(results, change); - }); - return new Changes("1.0.0", "1.0.1", change); } @@ -55,13 +54,17 @@ public void findBreakingChanges(List spoonResults, Set { apiChanges.forEach(apiChange -> { if (apiChange.getName().equals(spoonResult.getName())) { - - change.add(new BreakingChange(apiChange, spoonResult)); + for (BreakingChange breakingChange : change) { + if (breakingChange.getApiChanges().getName().equals(apiChange.getName())) { + breakingChange.getErrorInfo().add(spoonResult); + return; + } + } + BreakingChange breakingChange = new BreakingChange(apiChange); + breakingChange.getErrorInfo().add(spoonResult); + change.add(breakingChange); } }); }); } - - -} - +} \ No newline at end of file diff --git a/src/main/java/se/kth/data/Main.java b/src/main/java/se/kth/data/Main.java index 310428a..139161b 100644 --- a/src/main/java/se/kth/data/Main.java +++ b/src/main/java/se/kth/data/Main.java @@ -21,8 +21,8 @@ public class Main { public static void main(String[] args) { - List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); -//List list = getBreakingCommit(Path.of("examples/Benchmark")); +// List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); +List list = getBreakingCommit(Path.of("examples/Benchmark")); List compilationErrors = list.stream().filter(b -> b.failureCategory().equals("COMPILATION_FAILURE")).toList(); diff --git a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java index 6914137..b22712a 100644 --- a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java +++ b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java @@ -2,6 +2,7 @@ import se.kth.core.BreakingChange; import se.kth.core.Changes; +import se.kth.spoon_compare.SpoonResults; public class CompilationErrorTemplate extends ExplanationTemplate { @@ -28,10 +29,10 @@ public String clientError() { } - public String clientErrorLine(BreakingChange breakingChange) { - return " * An error was detected in line %s which is making use of an outdated API.\n".formatted(breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition()) + + public String clientErrorLine(SpoonResults spoonResults) { + return " * An error was detected in line %s which is making use of an outdated API.\n".formatted(spoonResults.getErrorInfo().getClientLinePosition()) + " ``` java\n" + - " %s %s;\n".formatted(breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), breakingChange.getErrorInfo().getClientLine()) + + " %s %s;\n".formatted(spoonResults.getErrorInfo().getClientLinePosition(), spoonResults.getClientLine()) + " ```\n"; } @@ -41,8 +42,17 @@ public String logLine() { } - public String logLineew(BreakingChange breakingChange) { - return " * >[%s](%s)\n".formatted(breakingChange.getErrorInfo().getErrorInfo().getErrorMessage(), breakingChange.getErrorInfo().getErrorInfo().getErrorLogGithubLink()); + public String logLineew(SpoonResults spoonResults) { + return " * >[%s](%s)\n".formatted(spoonResults.getErrorInfo().getErrorMessage(), spoonResults.getErrorInfo().getErrorLogGithubLink()); + } + + public String errorSection(BreakingChange breakingChange) { + StringBuilder message = new StringBuilder(); + for (SpoonResults spoonResults : breakingChange.getErrorInfo()) { + message.append(logLineew(spoonResults)).append(clientErrorLine(spoonResults)); + } + + return message.toString(); } @@ -64,13 +74,12 @@ public String brokenElement() { String category = translateCategory(changes.getApiChanges().getCategory()); String singleChange = " *
\n" + - " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getErrorInfo().getElement(), category) + + " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getErrorInfo().get(0).getElement(), category) + " \n" + " *
\n" + " The failure is identified from the logs generated in the build process. \n" + " \n" + - logLineew(changes) + - clientErrorLine(changes) + + errorSection(changes) + "\n" + "
\n" + " \n" + @@ -79,13 +88,8 @@ public String brokenElement() { text = text.concat(singleChange); } - - message = firstLine + "\n" + text; - - } - return message; } From 1d32b7a0dab7d78fd773a4333e61f9401cb0d247 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Wed, 27 Mar 2024 10:27:17 +0100 Subject: [PATCH 04/11] Update generation process and add Change type --- pom.xml | 2 +- .../se/kth/breaking_changes/ApiChange.java | 17 +++++- .../kth/breaking_changes/JApiCmpAnalyze.java | 23 ++++---- src/main/java/se/kth/core/BreakingChange.java | 1 - src/main/java/se/kth/core/ChangeType.java | 5 ++ src/main/java/se/kth/core/CombineResults.java | 31 +++++++--- src/main/java/se/kth/data/Main.java | 2 +- .../explaining/CompilationErrorTemplate.java | 59 ++++++++++++++++++- src/main/java/se/kth/spoon_compare/Main.java | 2 +- 9 files changed, 117 insertions(+), 25 deletions(-) create mode 100644 src/main/java/se/kth/core/ChangeType.java diff --git a/pom.xml b/pom.xml index 0516b70..5f0d2a6 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.github.siom79.japicmp japicmp - 0.18.3 + 0.20.0 diff --git a/src/main/java/se/kth/breaking_changes/ApiChange.java b/src/main/java/se/kth/breaking_changes/ApiChange.java index b6793d4..dbcfc19 100644 --- a/src/main/java/se/kth/breaking_changes/ApiChange.java +++ b/src/main/java/se/kth/breaking_changes/ApiChange.java @@ -1,6 +1,10 @@ package se.kth.breaking_changes; +import japicmp.model.JApiBehavior; +import japicmp.model.JApiChangeStatus; + import java.util.Objects; +import java.util.Set; @lombok.Getter @lombok.Setter @@ -16,10 +20,18 @@ public class ApiChange { private String name; + private String newLongName; + private ApiMetadata newVersion; private ApiMetadata oldVersion; + private JApiChangeStatus changeType; + + private JApiBehavior behavior; + + Set newVariants; + public ApiChange(String oldElement, String newElement, String category, String name) { this.oldElement = oldElement; this.newElement = newElement; @@ -28,13 +40,16 @@ public ApiChange(String oldElement, String newElement, String category, String n } - public ApiChange(String oldElement, String newElement, String category, String name, ApiMetadata newVersion, ApiMetadata oldVersion) { + public ApiChange(String oldElement, String newElement, String category, String name, String newLongName, JApiChangeStatus changeType, ApiMetadata newVersion, ApiMetadata oldVersion, JApiBehavior behavior) { this.oldElement = oldElement; this.newElement = newElement; this.category = category; this.name = name; + this.newLongName = newLongName; this.newVersion = newVersion; this.oldVersion = oldVersion; + this.changeType = changeType; + this.behavior = behavior; } public ApiChange() { diff --git a/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java b/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java index 4cf428b..27570e4 100644 --- a/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java +++ b/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java @@ -7,7 +7,6 @@ import japicmp.config.Options; import japicmp.exception.JApiCmpException; import japicmp.model.AccessModifier; -import japicmp.model.JApiChangeStatus; import japicmp.model.JApiClass; import japicmp.output.OutputFilter; import japicmp.output.semver.SemverOut; @@ -89,16 +88,18 @@ public Set useJApiCmp() { jApiClasses.iterator().forEachRemaining(jApiClass1 -> { //get methods jApiClass1.getMethods().forEach(jApiMethod -> { - if (jApiMethod.getChangeStatus().equals(JApiChangeStatus.REMOVED)) { - libraryChanges.add(new ApiChange( - jApiMethod.getOldMethod().isPresent() ? jApiMethod.getOldMethod().get().getName() : "null", - jApiMethod.getNewMethod().isPresent() ? jApiMethod.getNewMethod().get().getName() : "null", - jApiMethod.getCompatibilityChanges().toString(), - jApiMethod.getName(), - new ApiMetadata(newJar.toFile().getName(), newJar.getFileName().getFileName()), - new ApiMetadata(oldJar.toFile().getName(), oldJar.getFileName().getFileName()) - )); - } +// if (jApiMethod.getChangeStatus().equals(JApiChangeStatus.REMOVED)) { + libraryChanges.add(new ApiChange( + jApiMethod.getOldMethod().isPresent() ? jApiMethod.getOldMethod().get().getName() : "null", + jApiMethod.getNewMethod().isPresent() ? jApiMethod.getNewMethod().get().getName() : "null", + jApiMethod.getCompatibilityChanges().toString(), + jApiMethod.getName(), + jApiMethod.getOldMethod().isPresent() ? jApiMethod.getOldMethod().get().getLongName() : jApiMethod.getNewMethod().isPresent() ? jApiMethod.getNewMethod().get().getName() : "null", + jApiMethod.getChangeStatus(), + new ApiMetadata(newJar.toFile().getName(), newJar.getFileName().getFileName()), + new ApiMetadata(oldJar.toFile().getName(), oldJar.getFileName().getFileName()), + jApiMethod + )); }); }); }); diff --git a/src/main/java/se/kth/core/BreakingChange.java b/src/main/java/se/kth/core/BreakingChange.java index a3e9381..0f49ee3 100644 --- a/src/main/java/se/kth/core/BreakingChange.java +++ b/src/main/java/se/kth/core/BreakingChange.java @@ -5,7 +5,6 @@ import java.util.ArrayList; import java.util.List; -import java.util.Set; @lombok.Setter @lombok.Getter diff --git a/src/main/java/se/kth/core/ChangeType.java b/src/main/java/se/kth/core/ChangeType.java new file mode 100644 index 0000000..cb0fd37 --- /dev/null +++ b/src/main/java/se/kth/core/ChangeType.java @@ -0,0 +1,5 @@ +package se.kth.core; + +public enum ChangeType { + ADD, REMOVE, MODIFY +} diff --git a/src/main/java/se/kth/core/CombineResults.java b/src/main/java/se/kth/core/CombineResults.java index cfe61cb..ec919d1 100644 --- a/src/main/java/se/kth/core/CombineResults.java +++ b/src/main/java/se/kth/core/CombineResults.java @@ -1,5 +1,6 @@ package se.kth.core; +import japicmp.model.JApiChangeStatus; import se.kth.breaking_changes.ApiChange; import se.kth.log_Analyzer.MavenErrorLog; import se.kth.log_Analyzer.MavenLogAnalyzer; @@ -30,12 +31,6 @@ public CombineResults(Set apiChanges) { this.apiChanges = apiChanges; } - - public static void main(String[] args) { - System.out.println("Hello world!"); - - } - public Changes analyze() throws IOException { MavenErrorLog log = mavenLog.analyzeCompilationErrors(); Set change = new HashSet<>(); @@ -44,7 +39,7 @@ public Changes analyze() throws IOException { log.getErrorInfo().forEach((k, v) -> { SpoonAnalyzer spoonAnalyzer = new SpoonAnalyzer(dependencyGroupID, v); List results = spoonAnalyzer.applySpoon(project + k); - System.out.println(results.size()); + System.out.printf("Amount of instructions %d%n", results.size()); findBreakingChanges(results, change); }); return new Changes("1.0.0", "1.0.1", change); @@ -53,7 +48,7 @@ public Changes analyze() throws IOException { public void findBreakingChanges(List spoonResults, Set change) { spoonResults.forEach(spoonResult -> { apiChanges.forEach(apiChange -> { - if (apiChange.getName().equals(spoonResult.getName())) { + if (apiChange.getChangeType().equals(JApiChangeStatus.REMOVED) && apiChange.getName().equals(spoonResult.getName())) { for (BreakingChange breakingChange : change) { if (breakingChange.getApiChanges().getName().equals(apiChange.getName())) { breakingChange.getErrorInfo().add(spoonResult); @@ -63,8 +58,28 @@ public void findBreakingChanges(List spoonResults, Set newVariants = findNewVariant(apiChange); + apiChange.setNewVariants(newVariants); + } }); }); } + + public Set findNewVariant(ApiChange apiChange) { + + Set newVariants = new HashSet<>(); + apiChanges.forEach(apiChange1 -> { + if (apiChange1.getName().contains("between")) { + System.out.println("between"); + } + if (apiChange1.getName().equals(apiChange.getName()) && !apiChange1.getChangeType().equals(JApiChangeStatus.REMOVED)) { + System.out.println("New Element " + apiChange1.getName()); + System.out.println("Old element " + apiChange.getName()); + newVariants.add(apiChange1); + } + }); + return newVariants; + } } \ No newline at end of file diff --git a/src/main/java/se/kth/data/Main.java b/src/main/java/se/kth/data/Main.java index 139161b..2e7a4c5 100644 --- a/src/main/java/se/kth/data/Main.java +++ b/src/main/java/se/kth/data/Main.java @@ -23,7 +23,7 @@ public class Main { public static void main(String[] args) { // List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); List list = getBreakingCommit(Path.of("examples/Benchmark")); - +// List compilationErrors = list.stream().filter(b -> b.failureCategory().equals("COMPILATION_FAILURE")).toList(); generateTemplate(compilationErrors); diff --git a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java index b22712a..3832869 100644 --- a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java +++ b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java @@ -1,9 +1,14 @@ package se.kth.explaining; +import japicmp.model.JApiMethod; +import javassist.CtClass; +import javassist.NotFoundException; import se.kth.core.BreakingChange; import se.kth.core.Changes; import se.kth.spoon_compare.SpoonResults; +import java.util.Arrays; + public class CompilationErrorTemplate extends ExplanationTemplate { @@ -83,7 +88,9 @@ public String brokenElement() { "\n" + "
\n" + " \n" + - "
\n"; + newCandidates(changes)+ + "
\n" + ; text = text.concat(singleChange); @@ -94,4 +101,54 @@ public String brokenElement() { } + /** + * This method translates the category of the change to a human-readable format + * + *

To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible instruction currently used in the client. You can consider substituting the existing instruction with one of the following options provided by the new version of the dependency + * ``` java + * net.datafaker.DateAndTime.between(java.sql.Timestamp,java.sql.Timestamp); + *

``` + * + * @param breakingChange + * @return + */ + public String newCandidates(BreakingChange breakingChange) { + if (breakingChange.getApiChanges().getNewVariants().isEmpty()) { + return ""; + } + + int amountVariants = breakingChange.getApiChanges().getNewVariants().size(); + + + StringBuilder message = new StringBuilder(); + + if (amountVariants > 1) { + message.append(" To address this incompatibility, there are ") + .append(amountVariants) + .append(" alternative options available in the new version of the dependency that can replace the incompatible instruction currently used in the client. You can consider substituting the existing instruction with one of the following options provided by the new version of the dependency:\n"); + + breakingChange.getApiChanges().getNewVariants().forEach(apiChange -> { + message.append(" ``` java\n") + .append(" ").append(((JApiMethod) apiChange.getBehavior()).getNewMethod().get().getLongName()).append(";\n") + .append(" ```\n") + + ; + }); + } else { + message.append( + " To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible instruction currently used in the client. You can consider substituting the existing instruction with one of the following options provided by the new version of the dependency\n"); + breakingChange.getApiChanges().getNewVariants().forEach(apiChange -> { + try { + message.append(" ``` java\n") + .append(" ").append(((JApiMethod) apiChange.getBehavior()).getNewMethod().get().getName()).append(Arrays.toString(Arrays.stream(((JApiMethod) apiChange.getBehavior()).getNewMethod().get().getParameterTypes()).map(ctClass -> ctClass.getClass().getName()).toArray())).append(";\n") + .append(" ```\n"); + } catch (NotFoundException e) { + throw new RuntimeException(e); + } + }); + } + return message.toString(); + } + + } diff --git a/src/main/java/se/kth/spoon_compare/Main.java b/src/main/java/se/kth/spoon_compare/Main.java index 9b3a8af..b968d23 100644 --- a/src/main/java/se/kth/spoon_compare/Main.java +++ b/src/main/java/se/kth/spoon_compare/Main.java @@ -12,7 +12,7 @@ public class Main { public static void main(String[] args) { - MavenLogAnalyzer mavenLog = new MavenLogAnalyzer(new File("/Users/frank/Documents/Work/PHD/Explaining/breaking-good/0abf7148300f40a1da0538ab060552bca4a2f1d8.log")); + MavenLogAnalyzer mavenLog = new MavenLogAnalyzer(new File("/Users/frank/Documents/Work/PHD/Explaining/breaking-good/projects/0abf7148300f40a1da0538ab060552bca4a2f1d8/biapi/0abf7148300f40a1da0538ab060552bca4a2f1d8.log")); try { From a18c34659cc0fc95541ad9d44342242f016f8584 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Wed, 27 Mar 2024 14:07:17 +0100 Subject: [PATCH 05/11] Add first explanation version --- .../1ef97ea6c5b6e34151fe6167001b69e003449f96.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md diff --git a/Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md b/Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md new file mode 100644 index 0000000..a6961cc --- /dev/null +++ b/Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md @@ -0,0 +1,17 @@ +CI detected that the dependency upgrade from version **datafaker-1.3.0** to **datafaker-1.4.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instructions which has been modified in the new version of the dependency. + *

Method between(java.util.Date,java.util.Date) which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /flink-faker/src/main/java/com/github/knaufk/flink/faker/DateTime.java:[45,40] incompatible types: java.util.Date cannot be converted to java.sql.Timestamp](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:709) + * An error was detected in line 45 which is making use of an outdated API. + ``` java + 45 super.between(from, to); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Timestamp between(Timestamp,Timestamp); + ``` + From 296f00d5ee6e9390509a6bcb4f3342914336cd94 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Thu, 28 Mar 2024 13:55:26 +0100 Subject: [PATCH 06/11] generate template for only one change --- ...ef97ea6c5b6e34151fe6167001b69e003449f96.md | 4 +- .../se/kth/breaking_changes/ApiChange.java | 4 +- .../kth/breaking_changes/JApiCmpAnalyze.java | 5 +- src/main/java/se/kth/core/ChangeType.java | 2 + src/main/java/se/kth/core/Instruction.java | 8 ++ .../explaining/CompilationErrorTemplate.java | 96 ++++++++++++------- .../kth/explaining/ExplanationTemplate.java | 10 +- 7 files changed, 86 insertions(+), 43 deletions(-) create mode 100644 src/main/java/se/kth/core/Instruction.java diff --git a/Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md b/Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md index a6961cc..7174cec 100644 --- a/Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md +++ b/Explanations_v1/1ef97ea6c5b6e34151fe6167001b69e003449f96.md @@ -4,8 +4,8 @@ CI detected that the dependency upgrade from version **datafaker-1.3.0** to **da * The failure is identified from the logs generated in the build process. - * >[[ERROR] /flink-faker/src/main/java/com/github/knaufk/flink/faker/DateTime.java:[45,40] incompatible types: java.util.Date cannot be converted to java.sql.Timestamp](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:709) - * An error was detected in line 45 which is making use of an outdated API. + * >[[ERROR] /flink-faker/src/main/java/com/github/knaufk/flink/faker/DateTime.java:[45,40] incompatible types: java.util.Date cannot be converted to java.sql.Timestamp](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:709) + * An error was detected in line 45 which is making use of an outdated API. ``` java 45 super.between(from, to); ``` diff --git a/src/main/java/se/kth/breaking_changes/ApiChange.java b/src/main/java/se/kth/breaking_changes/ApiChange.java index dbcfc19..d9735de 100644 --- a/src/main/java/se/kth/breaking_changes/ApiChange.java +++ b/src/main/java/se/kth/breaking_changes/ApiChange.java @@ -31,6 +31,7 @@ public class ApiChange { private JApiBehavior behavior; Set newVariants; + String instruction; public ApiChange(String oldElement, String newElement, String category, String name) { this.oldElement = oldElement; @@ -40,7 +41,7 @@ public ApiChange(String oldElement, String newElement, String category, String n } - public ApiChange(String oldElement, String newElement, String category, String name, String newLongName, JApiChangeStatus changeType, ApiMetadata newVersion, ApiMetadata oldVersion, JApiBehavior behavior) { + public ApiChange(String oldElement, String newElement, String category, String name, String newLongName, JApiChangeStatus changeType, ApiMetadata newVersion, ApiMetadata oldVersion, JApiBehavior behavior, String instruction) { this.oldElement = oldElement; this.newElement = newElement; this.category = category; @@ -50,6 +51,7 @@ public ApiChange(String oldElement, String newElement, String category, String n this.oldVersion = oldVersion; this.changeType = changeType; this.behavior = behavior; + this.instruction = instruction; } public ApiChange() { diff --git a/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java b/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java index 27570e4..6df5413 100644 --- a/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java +++ b/src/main/java/se/kth/breaking_changes/JApiCmpAnalyze.java @@ -20,6 +20,7 @@ import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.SAXException; +import se.kth.core.Instruction; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; @@ -98,7 +99,9 @@ public Set useJApiCmp() { jApiMethod.getChangeStatus(), new ApiMetadata(newJar.toFile().getName(), newJar.getFileName().getFileName()), new ApiMetadata(oldJar.toFile().getName(), oldJar.getFileName().getFileName()), - jApiMethod + jApiMethod, + Instruction.Method.toString() + )); }); }); diff --git a/src/main/java/se/kth/core/ChangeType.java b/src/main/java/se/kth/core/ChangeType.java index cb0fd37..0c6f4ba 100644 --- a/src/main/java/se/kth/core/ChangeType.java +++ b/src/main/java/se/kth/core/ChangeType.java @@ -3,3 +3,5 @@ public enum ChangeType { ADD, REMOVE, MODIFY } + + diff --git a/src/main/java/se/kth/core/Instruction.java b/src/main/java/se/kth/core/Instruction.java new file mode 100644 index 0000000..93471c0 --- /dev/null +++ b/src/main/java/se/kth/core/Instruction.java @@ -0,0 +1,8 @@ +package se.kth.core; + +public enum Instruction { + Method, + Class, + Import, + Field, +} diff --git a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java index 3832869..757590a 100644 --- a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java +++ b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java @@ -1,13 +1,11 @@ package se.kth.explaining; import japicmp.model.JApiMethod; -import javassist.CtClass; -import javassist.NotFoundException; import se.kth.core.BreakingChange; import se.kth.core.Changes; import se.kth.spoon_compare.SpoonResults; -import java.util.Arrays; +import static java.util.stream.Collectors.joining; public class CompilationErrorTemplate extends ExplanationTemplate { @@ -49,9 +47,10 @@ public String logLine() { public String logLineew(SpoonResults spoonResults) { return " * >[%s](%s)\n".formatted(spoonResults.getErrorInfo().getErrorMessage(), spoonResults.getErrorInfo().getErrorLogGithubLink()); + } - public String errorSection(BreakingChange breakingChange) { + public String errorSection(BreakingChange breakingChange, int instructions) { StringBuilder message = new StringBuilder(); for (SpoonResults spoonResults : breakingChange.getErrorInfo()) { message.append(logLineew(spoonResults)).append(clientErrorLine(spoonResults)); @@ -64,42 +63,50 @@ public String errorSection(BreakingChange breakingChange) { @Override public String brokenElement() { -// String message = "1. Your client utilizes the instruction **%s** which has been modified in the new version of the dependency." -// .formatted(breakingChange.getApiChanges().getOldElement()); - String message = ""; // if there are more than one changes if (!changes.changes().isEmpty()) { - String firstLine = "1. Your client utilizes **%d** instructions which has been modified in the new version of the dependency." - .formatted(changes.changes().size()); + String instructions = changes.changes().size() > 1 ? "instructions" : "instruction"; + String firstLine = "1. Your client utilizes **%d** %s which has been modified in the new version of the dependency." + .formatted(changes.changes().size(), instructions); String text = ""; for (BreakingChange changes : changes.changes()) { - - String category = translateCategory(changes.getApiChanges().getCategory()); - - String singleChange = " *
\n" + - " Instruction %s which has been %s in the new version of the dependency\n".formatted(changes.getErrorInfo().get(0).getElement(), category) + - " \n" + - " *
\n" + - " The failure is identified from the logs generated in the build process. \n" + - " \n" + - errorSection(changes) + - "\n" + - "
\n" + - " \n" + - newCandidates(changes)+ - "
\n" - ; - + String category = translateCategory(changes.getApiChanges().getChangeType().toString()); + final var singleChange = generateElementExplanation(changes, category, this.changes.changes().size()); text = text.concat(singleChange); - } message = firstLine + "\n" + text; } return message; } + private String generateElementExplanation(BreakingChange changes, String category, int instructions) { + if (instructions > 1) { + return " *
\n" + + " %s %s which has been %s in the new version of the dependency\n".formatted(changes.getApiChanges().getInstruction(), changes.getErrorInfo().get(0).getElement(), category) + + " \n" + + " *
\n" + + " The failure is identified from the logs generated in the build process. \n" + + " \n" + + errorSection(changes, instructions) + + "\n" + + "
\n" + + " \n" + + newCandidates(changes) + + "
\n"; + } else { + return " * %s %s which has been %s in the new version of the dependency\n".formatted(changes.getApiChanges().getInstruction(), changes.getErrorInfo().get(0).getElement(), category) + + " \n" + + " * The failure is identified from the logs generated in the build process. \n" + + " \n" + + errorSection(changes, instructions) + + " \n" + + newCandidates(changes); + + } + } + /** * This method translates the category of the change to a human-readable format @@ -125,7 +132,7 @@ public String newCandidates(BreakingChange breakingChange) { if (amountVariants > 1) { message.append(" To address this incompatibility, there are ") .append(amountVariants) - .append(" alternative options available in the new version of the dependency that can replace the incompatible instruction currently used in the client. You can consider substituting the existing instruction with one of the following options provided by the new version of the dependency:\n"); + .append(" alternative options available in the new version of the dependency that can replace the incompatible %s currently used in the client. You can consider substituting the existing %s with one of the following options provided by the new version of the dependency:\n".formatted(breakingChange.getApiChanges().getInstruction().toLowerCase(), breakingChange.getApiChanges().getInstruction().toLowerCase())); breakingChange.getApiChanges().getNewVariants().forEach(apiChange -> { message.append(" ``` java\n") @@ -136,19 +143,36 @@ public String newCandidates(BreakingChange breakingChange) { }); } else { message.append( - " To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible instruction currently used in the client. You can consider substituting the existing instruction with one of the following options provided by the new version of the dependency\n"); + " To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible %s currently used in the client. You can consider substituting the existing %s with one of the following options provided by the new version of the dependency\n".formatted(breakingChange.getApiChanges().getInstruction().toLowerCase(), breakingChange.getApiChanges().getInstruction().toLowerCase())); breakingChange.getApiChanges().getNewVariants().forEach(apiChange -> { - try { - message.append(" ``` java\n") - .append(" ").append(((JApiMethod) apiChange.getBehavior()).getNewMethod().get().getName()).append(Arrays.toString(Arrays.stream(((JApiMethod) apiChange.getBehavior()).getNewMethod().get().getParameterTypes()).map(ctClass -> ctClass.getClass().getName()).toArray())).append(";\n") - .append(" ```\n"); - } catch (NotFoundException e) { - throw new RuntimeException(e); - } + JApiMethod method = ((JApiMethod) apiChange.getBehavior()); + message.append(" ``` java\n") + .append(" ").append(methodName(method)).append(";\n") + .append(" ```\n"); }); } return message.toString(); } + /** + * This method returns the method name in the format of returnType methodName(params) + * + * @param method JApiMethod + * @return String + */ + private String methodName(JApiMethod method) { + + String[] fullReturnTypeName = method.getReturnType().getNewReturnType().split("\\."); + String returnTypeClass = fullReturnTypeName[fullReturnTypeName.length - 1].equals("n.a.") ? "void" : fullReturnTypeName[fullReturnTypeName.length - 1]; + + String params = method.getParameters().stream().map(jApiParameter -> { + String[] fullParameterTypeName = jApiParameter.getType().split("\\."); + return fullParameterTypeName[fullParameterTypeName.length - 1]; + }).collect(joining(",")); + + return "%s %s(%s)".formatted(returnTypeClass, method.getName(), params); + } + + } diff --git a/src/main/java/se/kth/explaining/ExplanationTemplate.java b/src/main/java/se/kth/explaining/ExplanationTemplate.java index 8bbb3cc..dbe818d 100644 --- a/src/main/java/se/kth/explaining/ExplanationTemplate.java +++ b/src/main/java/se/kth/explaining/ExplanationTemplate.java @@ -29,9 +29,13 @@ public ExplanationTemplate(Changes changes, String fileName) { public String translateCategory(String category) { return switch (category) { - case "[METHOD_REMOVED]" -> "removed"; - case "[METHOD_ADDED]" -> "added"; - default -> ""; + case "[METHOD_REMOVED]": + case "REMOVED": + yield "removed"; + case "[METHOD_ADDED]": + yield "added"; + default: + yield ""; }; } From 1d2f5d888f99338f57427b763d55d04c75e0e595 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Sun, 31 Mar 2024 18:05:15 +0200 Subject: [PATCH 07/11] Remove logs --- src/main/java/se/kth/core/CombineResults.java | 8 ++--- src/main/java/se/kth/data/DockerImages.java | 2 -- src/main/java/se/kth/data/Main.java | 17 +++++++---- .../explaining/CompilationErrorTemplate.java | 30 +++++++------------ .../kth/explaining/ExplanationTemplate.java | 2 -- src/main/java/se/kth/spoon_compare/Main.java | 4 +-- 6 files changed, 27 insertions(+), 36 deletions(-) diff --git a/src/main/java/se/kth/core/CombineResults.java b/src/main/java/se/kth/core/CombineResults.java index ec919d1..90e1727 100644 --- a/src/main/java/se/kth/core/CombineResults.java +++ b/src/main/java/se/kth/core/CombineResults.java @@ -39,7 +39,7 @@ public Changes analyze() throws IOException { log.getErrorInfo().forEach((k, v) -> { SpoonAnalyzer spoonAnalyzer = new SpoonAnalyzer(dependencyGroupID, v); List results = spoonAnalyzer.applySpoon(project + k); - System.out.printf("Amount of instructions %d%n", results.size()); +// System.out.printf("Amount of instructions %d%n", results.size()); findBreakingChanges(results, change); }); return new Changes("1.0.0", "1.0.1", change); @@ -72,11 +72,11 @@ public Set findNewVariant(ApiChange apiChange) { Set newVariants = new HashSet<>(); apiChanges.forEach(apiChange1 -> { if (apiChange1.getName().contains("between")) { - System.out.println("between"); +// System.out.println("between"); } if (apiChange1.getName().equals(apiChange.getName()) && !apiChange1.getChangeType().equals(JApiChangeStatus.REMOVED)) { - System.out.println("New Element " + apiChange1.getName()); - System.out.println("Old element " + apiChange.getName()); +// System.out.println("New Element " + apiChange1.getName()); +// System.out.println("Old element " + apiChange.getName()); newVariants.add(apiChange1); } }); diff --git a/src/main/java/se/kth/data/DockerImages.java b/src/main/java/se/kth/data/DockerImages.java index 1ecac08..efca8e6 100644 --- a/src/main/java/se/kth/data/DockerImages.java +++ b/src/main/java/se/kth/data/DockerImages.java @@ -43,10 +43,8 @@ public void getProject(BreakingUpdateMetadata breakingUpdates) { createDockerClient(); - if (breakingUpdates != null) { //read each breaking update json file - String breakingCommit = breakingUpdates.breakingCommit(); String project = breakingUpdates.project(); diff --git a/src/main/java/se/kth/data/Main.java b/src/main/java/se/kth/data/Main.java index 2e7a4c5..1f08adc 100644 --- a/src/main/java/se/kth/data/Main.java +++ b/src/main/java/se/kth/data/Main.java @@ -21,9 +21,9 @@ public class Main { public static void main(String[] args) { -// List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); -List list = getBreakingCommit(Path.of("examples/Benchmark")); -// + List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); + //List list = getBreakingCommit(Path.of("examples/Benchmark")); + List compilationErrors = list.stream().filter(b -> b.failureCategory().equals("COMPILATION_FAILURE")).toList(); generateTemplate(compilationErrors); @@ -59,6 +59,7 @@ public static void generateTemplate(List breakingUpdateL for (BreakingUpdateMetadata breakingUpdate : breakingUpdateList) { + System.out.println("Processing breaking update " + breakingUpdate.breakingCommit()); dockerImages.getProject(breakingUpdate); @@ -68,7 +69,7 @@ public static void generateTemplate(List breakingUpdateL jars.resolve("%s/%s-%s.jar".formatted(breakingUpdate.breakingCommit(), breakingUpdate.updatedDependency().dependencyArtifactID(), breakingUpdate.updatedDependency().newVersion())) ); - System.out.println(jApiCmpAnalyze); +// System.out.println(jApiCmpAnalyze); Set apiChanges = jApiCmpAnalyze.useJApiCmp(); @@ -84,15 +85,19 @@ public static void generateTemplate(List breakingUpdateL try { Changes changes = combineResults.analyze(); - + System.out.println("Project: " + breakingUpdate.project()); + System.out.println("Breaking Commit: " + breakingUpdate.breakingCommit()); System.out.println("Changes: " + changes.changes().size()); - ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, "Explanations/"+breakingUpdate.breakingCommit()+".md"); + System.out.println("**********************************************************"); + System.out.println(); + ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, "Explanations/" + breakingUpdate.breakingCommit() + ".md"); explanationTemplate.generateTemplate(); } catch (IOException e) { throw new RuntimeException(e); } } catch (Exception e) { + System.out.println("Error processing breaking update " + breakingUpdate.breakingCommit()); System.out.println(e.getMessage()); } } diff --git a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java index 757590a..b17051e 100644 --- a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java +++ b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java @@ -23,15 +23,6 @@ public String getHead() { .formatted(breakingChange.getApiChanges().getOldVersion().getName(), breakingChange.getApiChanges().getNewVersion().getName()); } - @Override - public String clientError() { - return ""; -// return ("3. An error was detected in line %s which is making use of an outdated API.\n " + -// "``` java\n %s %s;\n ```").formatted(breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), -// breakingChange.getErrorInfo().getErrorInfo().getClientLinePosition(), breakingChange.getErrorInfo().getClientLine()); - - } - public String clientErrorLine(SpoonResults spoonResults) { return " * An error was detected in line %s which is making use of an outdated API.\n".formatted(spoonResults.getErrorInfo().getClientLinePosition()) + " ``` java\n" + @@ -45,7 +36,7 @@ public String logLine() { } - public String logLineew(SpoonResults spoonResults) { + public String logLineErrorMessage(SpoonResults spoonResults) { return " * >[%s](%s)\n".formatted(spoonResults.getErrorInfo().getErrorMessage(), spoonResults.getErrorInfo().getErrorLogGithubLink()); } @@ -53,13 +44,17 @@ public String logLineew(SpoonResults spoonResults) { public String errorSection(BreakingChange breakingChange, int instructions) { StringBuilder message = new StringBuilder(); for (SpoonResults spoonResults : breakingChange.getErrorInfo()) { - message.append(logLineew(spoonResults)).append(clientErrorLine(spoonResults)); + message.append(logLineErrorMessage(spoonResults)).append(clientErrorLine(spoonResults)); } return message.toString(); } + /** + * This method generates the broken element section of the markdown file + * @return + */ @Override public String brokenElement() { @@ -116,29 +111,25 @@ private String generateElementExplanation(BreakingChange changes, String categor * net.datafaker.DateAndTime.between(java.sql.Timestamp,java.sql.Timestamp); *

``` * - * @param breakingChange - * @return + * @param breakingChange BreakingChange + * @return Number of new candidates and their method signature */ public String newCandidates(BreakingChange breakingChange) { if (breakingChange.getApiChanges().getNewVariants().isEmpty()) { return ""; } - int amountVariants = breakingChange.getApiChanges().getNewVariants().size(); - - StringBuilder message = new StringBuilder(); - if (amountVariants > 1) { message.append(" To address this incompatibility, there are ") .append(amountVariants) .append(" alternative options available in the new version of the dependency that can replace the incompatible %s currently used in the client. You can consider substituting the existing %s with one of the following options provided by the new version of the dependency:\n".formatted(breakingChange.getApiChanges().getInstruction().toLowerCase(), breakingChange.getApiChanges().getInstruction().toLowerCase())); breakingChange.getApiChanges().getNewVariants().forEach(apiChange -> { + JApiMethod method = ((JApiMethod) apiChange.getBehavior()); message.append(" ``` java\n") - .append(" ").append(((JApiMethod) apiChange.getBehavior()).getNewMethod().get().getLongName()).append(";\n") + .append(" ").append(methodName(method)).append(";\n") .append(" ```\n") - ; }); } else { @@ -154,7 +145,6 @@ public String newCandidates(BreakingChange breakingChange) { return message.toString(); } - /** * This method returns the method name in the format of returnType methodName(params) * diff --git a/src/main/java/se/kth/explaining/ExplanationTemplate.java b/src/main/java/se/kth/explaining/ExplanationTemplate.java index dbe818d..c38ad2f 100644 --- a/src/main/java/se/kth/explaining/ExplanationTemplate.java +++ b/src/main/java/se/kth/explaining/ExplanationTemplate.java @@ -21,8 +21,6 @@ public ExplanationTemplate(Changes changes, String fileName) { public abstract String getHead(); - public abstract String clientError(); - public abstract String logLine(); public abstract String brokenElement(); diff --git a/src/main/java/se/kth/spoon_compare/Main.java b/src/main/java/se/kth/spoon_compare/Main.java index b968d23..80f9a6e 100644 --- a/src/main/java/se/kth/spoon_compare/Main.java +++ b/src/main/java/se/kth/spoon_compare/Main.java @@ -21,11 +21,11 @@ public static void main(String[] args) { log.getErrorInfo().forEach((k, v) -> { System.out.println(k); - v.forEach(System.out::println); +// v.forEach(System.out::println); SpoonAnalyzer spoonAnalyzer = new SpoonAnalyzer("net.sf.jasperreports", v); List results = spoonAnalyzer.applySpoon(proyect + k); - results.forEach(System.out::println); +// results.forEach(System.out::println); }); From 5b4b1e2e295237afa198080c805a0f403f68defe Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Mon, 1 Apr 2024 19:18:01 +0200 Subject: [PATCH 08/11] Adding base template for explanations --- Resources/template.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/Resources/template.md b/Resources/template.md index 2507811..5a2cba1 100644 --- a/Resources/template.md +++ b/Resources/template.md @@ -1,16 +1,17 @@ -CI detected that the dependency upgrade from version **org.A.1.0** to **org.A.2.0** has failed. Here are details to help you understand and fix the problem: -1. Your client utilizes 4 instructions which has been modified in the new version of the dependency. -

Instruction **%s** - ### Heading - 1. Foo - 2. Bar - * Baz - * Qux +CI detected that the dependency upgrade from version <**label indicating the previous version of the dependency**> to <**label indicating the new version of the dependency**> has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes <**label indicate amount of instructions**> instructions which has been modified in the new version of the dependency. + * < Method | Class | Field | Import | Constructor> which has been < Removed | Modified > in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * > Label to indicate the error message in the logs + * An error was detected in line < Label indicate line in client> which is making use of an outdated API. + ``` java + < Line in client > + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + < New method signature> + ``` - ### Some Javascript - ```js - function logSomething(something) { - console.log('Something', something); - } - ``` -
From cf26d7b7f0b67ee1c94aeccfdd471918c3ef9a3d Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Mon, 1 Apr 2024 19:18:19 +0200 Subject: [PATCH 09/11] Adding download jar functionality --- pom.xml | 5 + .../se/kth/breaking_changes/ApiMetadata.java | 5 +- src/main/java/se/kth/data/DockerImages.java | 73 +++++++++---- src/main/java/se/kth/data/Main.java | 100 +++++++++++------- .../explaining/CompilationErrorTemplate.java | 3 +- .../kth/explaining/ExplanationTemplate.java | 3 + 6 files changed, 129 insertions(+), 60 deletions(-) diff --git a/pom.xml b/pom.xml index 5f0d2a6..8cd4c78 100644 --- a/pom.xml +++ b/pom.xml @@ -78,6 +78,11 @@ japicmp 0.20.0 + + org.jsoup + jsoup + 1.17.2 + \ No newline at end of file diff --git a/src/main/java/se/kth/breaking_changes/ApiMetadata.java b/src/main/java/se/kth/breaking_changes/ApiMetadata.java index 10234c0..c481b17 100644 --- a/src/main/java/se/kth/breaking_changes/ApiMetadata.java +++ b/src/main/java/se/kth/breaking_changes/ApiMetadata.java @@ -47,7 +47,7 @@ public String getName() { * @param version the version of the dependency * @return true if the download was successful, false otherwise */ - public static boolean download(String groupId, String artifactId, String version) { + public static boolean download(String groupId, String artifactId, String version, Path directory) { /* * Maven repository link for the previous version of the dependency */ @@ -61,7 +61,7 @@ public static boolean download(String groupId, String artifactId, String version String artifactUrl = getArtifactUrl(groupId, artifactId, version, repository); try (Response response = httpConnector.newCall(new Request.Builder().url(artifactUrl).build()).execute()) { if (response.code() == 200) { - downloadAndConvert(response, "jars" + File.separator + jarName); + downloadAndConvert(response, directory.toString() + File.separator + jarName); return true; } } catch (IOException e) { @@ -87,3 +87,4 @@ private static void downloadAndConvert(Response response, String fileName) throw } } + diff --git a/src/main/java/se/kth/data/DockerImages.java b/src/main/java/se/kth/data/DockerImages.java index efca8e6..5c7dd79 100644 --- a/src/main/java/se/kth/data/DockerImages.java +++ b/src/main/java/se/kth/data/DockerImages.java @@ -14,7 +14,9 @@ import org.apache.commons.compress.archivers.tar.TarArchiveInputStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import se.kth.breaking_changes.Download; +import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; @@ -25,7 +27,6 @@ import java.util.Map; import java.util.Objects; - public class DockerImages { @@ -39,7 +40,7 @@ public class DockerImages { private static final List containers = new ArrayList<>(); - public void getProject(BreakingUpdateMetadata breakingUpdates) { + public void getProject(BreakingUpdateMetadata breakingUpdates) throws IOException, InterruptedException { createDockerClient(); @@ -56,31 +57,55 @@ public void getProject(BreakingUpdateMetadata breakingUpdates) { Path breaking = dir.resolve(breakingCommit); - if (Files.exists(breaking)) { - return; - } + String previousVersion = breakingUpdates.updatedDependency().dependencyArtifactID() + "-" + breakingUpdates.updatedDependency().previousVersion() + ".jar"; + String newVersion = breakingUpdates.updatedDependency().dependencyArtifactID() + "-" + breakingUpdates.updatedDependency().newVersion() + ".jar"; - Path projectDir_breaking; - try { - projectDir_breaking = Files.createDirectories(breaking); - } catch (IOException e) { - log.error("Could not create the project directory {}", project, e); - return; - } + boolean existsProject = Files.exists(breaking.resolve(project)); + boolean existPreviousVersion = Files.exists(breaking.resolve(previousVersion)); + boolean existNewVersion = Files.exists(breaking.resolve(newVersion)); - Path projectDir = copyProject(Objects.requireNonNull(startContainer(breakingImage, project)).getKey(), project, projectDir_breaking); - if (projectDir == null) { + if (!existsProject) { + Path projectDir_breaking; + try { + projectDir_breaking = Files.createDirectories(breaking); + } catch (IOException e) { + log.error("Could not create the project directory {}", project, e); + return; + } + Path projectDir = copyProject(Objects.requireNonNull(startContainer(breakingImage, project)).getKey(), project, projectDir_breaking); deleteContainers(breakingImage); - return; + if (projectDir == null) { + log.error("Could not copy the project {}", project); + return; + } + } + + try { + if (!existPreviousVersion) { + Files.createDirectories(breaking); + File prev = Download.getJarFile(breakingUpdates.updatedDependency().dependencyGroupID(), + breakingUpdates.updatedDependency().dependencyArtifactID(), + breakingUpdates.updatedDependency().previousVersion(), breaking); + System.out.println((prev != null ? "Downloaded " : "Fail to download ") + breakingUpdates.updatedDependency().dependencyArtifactID() + "-" + breakingUpdates.updatedDependency().previousVersion()); + } + if (!existNewVersion) { + File newV = Download.getJarFile(breakingUpdates.updatedDependency().dependencyGroupID(), + breakingUpdates.updatedDependency().dependencyArtifactID(), + breakingUpdates.updatedDependency().newVersion(), breaking); + System.out.println((newV != null ? "Downloaded " : "Fail to download ") + breakingUpdates.updatedDependency().dependencyArtifactID() + "-" + breakingUpdates.updatedDependency().newVersion()); + } + } catch (IOException | InterruptedException e) { + throw new RuntimeException(e); } - deleteContainers(breakingImage); - log.info("====================================================================================================="); - log.info("* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * "); - log.info("====================================================================================================="); - log.info(""); +// deleteContainers(breakingImage); + +// log.info("====================================================================================================="); +// log.info("* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * "); +// log.info("====================================================================================================="); +// log.info(""); } @@ -201,6 +226,14 @@ private void createDockerClient() { dockerClient = DockerClientImpl.getInstance(clientConfig, httpClient); } + + /** + * Copy old/new pair of dependency jar/pom files from the corresponding containers. + * + * @return the type of the updated dependency. + */ + + public DockerImages() { createDockerClient(); } diff --git a/src/main/java/se/kth/data/Main.java b/src/main/java/se/kth/data/Main.java index 1f08adc..44226dd 100644 --- a/src/main/java/se/kth/data/Main.java +++ b/src/main/java/se/kth/data/Main.java @@ -11,6 +11,7 @@ import java.io.File; import java.io.IOException; +import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; @@ -21,9 +22,9 @@ public class Main { public static void main(String[] args) { - List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/chains-project/paper/bump/data/benchmark")); - //List list = getBreakingCommit(Path.of("examples/Benchmark")); - + List list = getBreakingCommit(Path.of("/Users/frank/Documents/Work/PHD/Explaining/breaking-good/benchmark/data/benchmark")); +// List list = getBreakingCommit(Path.of("examples/Benchmark")); +// List compilationErrors = list.stream().filter(b -> b.failureCategory().equals("COMPILATION_FAILURE")).toList(); generateTemplate(compilationErrors); @@ -54,52 +55,77 @@ public static void generateTemplate(List breakingUpdateL String githubURL = "https://github.com/knaufk/flink-faker/blob/1ef97ea6c5b6e34151fe6167001b69e003449f95/src/main/java/com/github/knaufk/flink/faker/DateTime.java#L44"; Path jars = Path.of("/Users/frank/Documents/Work/PHD/Tools/bump_experiments/jars"); + DockerImages dockerImages = new DockerImages(); + List explanationStatistics = new ArrayList<>(); for (BreakingUpdateMetadata breakingUpdate : breakingUpdateList) { + Path jarsFile = Path.of("projects/"); + System.out.println("Processing breaking update " + breakingUpdate.breakingCommit()); - dockerImages.getProject(breakingUpdate); + try { + dockerImages.getProject(breakingUpdate); + } catch (IOException | InterruptedException e) { + System.out.println("Error downloading breaking update " + breakingUpdate.breakingCommit()); + } +// processingBreakingUpdate(breakingUpdate, jarsFile, explanationStatistics); + } - try { - JApiCmpAnalyze jApiCmpAnalyze = new JApiCmpAnalyze( - jars.resolve("%s/%s-%s.jar".formatted(breakingUpdate.breakingCommit(), breakingUpdate.updatedDependency().dependencyArtifactID(), breakingUpdate.updatedDependency().previousVersion())), - jars.resolve("%s/%s-%s.jar".formatted(breakingUpdate.breakingCommit(), breakingUpdate.updatedDependency().dependencyArtifactID(), breakingUpdate.updatedDependency().newVersion())) - ); + } -// System.out.println(jApiCmpAnalyze); + private static void processingBreakingUpdate(BreakingUpdateMetadata breakingUpdate, Path jarsFile, List explanationStatistics) { + try { + JApiCmpAnalyze jApiCmpAnalyze = new JApiCmpAnalyze( + jarsFile.resolve("%s/%s-%s.jar".formatted(breakingUpdate.breakingCommit(), breakingUpdate.updatedDependency().dependencyArtifactID(), breakingUpdate.updatedDependency().previousVersion())), + jarsFile.resolve("%s/%s-%s.jar".formatted(breakingUpdate.breakingCommit(), breakingUpdate.updatedDependency().dependencyArtifactID(), breakingUpdate.updatedDependency().newVersion())) + ); - Set apiChanges = jApiCmpAnalyze.useJApiCmp(); - CombineResults combineResults = new CombineResults(apiChanges); -// - combineResults.setDependencyGroupID(breakingUpdate.updatedDependency().dependencyGroupID()); - - combineResults.setProject("projects/%s".formatted(breakingUpdate.breakingCommit())); - - combineResults.setMavenLog(new MavenLogAnalyzer( - new File("projects/%s/%s/%s.log".formatted(breakingUpdate.breakingCommit(), breakingUpdate.project(), breakingUpdate.breakingCommit())))); - - try { - Changes changes = combineResults.analyze(); - - System.out.println("Project: " + breakingUpdate.project()); - System.out.println("Breaking Commit: " + breakingUpdate.breakingCommit()); - System.out.println("Changes: " + changes.changes().size()); - System.out.println("**********************************************************"); - System.out.println(); - ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, "Explanations/" + breakingUpdate.breakingCommit() + ".md"); - explanationTemplate.generateTemplate(); - } catch (IOException e) { - throw new RuntimeException(e); - } - - } catch (Exception e) { - System.out.println("Error processing breaking update " + breakingUpdate.breakingCommit()); - System.out.println(e.getMessage()); + Set apiChanges = jApiCmpAnalyze.useJApiCmp(); + + CombineResults combineResults = new CombineResults(apiChanges); + + combineResults.setDependencyGroupID(breakingUpdate.updatedDependency().dependencyGroupID()); + + combineResults.setProject("projects/%s".formatted(breakingUpdate.breakingCommit())); + + combineResults.setMavenLog(new MavenLogAnalyzer( + new File("projects/%s/%s/%s.log".formatted(breakingUpdate.breakingCommit(), breakingUpdate.project(), breakingUpdate.breakingCommit())))); + + try { + Changes changes = combineResults.analyze(); + + System.out.println("Project: " + breakingUpdate.project()); + System.out.println("Breaking Commit: " + breakingUpdate.breakingCommit()); + System.out.println("Changes: " + changes.changes().size()); + explanationStatistics.add(new ExplanationStatistics(breakingUpdate.project(), breakingUpdate.breakingCommit(), changes.changes().size())); + ExplanationTemplate explanationTemplate = new CompilationErrorTemplate(changes, "Explanations/" + breakingUpdate.breakingCommit() + ".md"); + explanationTemplate.generateTemplate(); + System.out.println("**********************************************************"); + System.out.println(); + } catch (IOException e) { + System.out.println("Error analyzing breaking update " + breakingUpdate.breakingCommit()); + System.out.println(e); + throw new RuntimeException(e); } + try { + Path file = Path.of("explanationStatistics.json"); + Files.deleteIfExists(file); + Files.createFile(file); + JsonUtils.writeToFile(file, explanationStatistics); + } catch (IOException e) { + throw new RuntimeException(e); + } + + } catch (Exception e) { + System.out.println("Error processing breaking update " + breakingUpdate.breakingCommit()); + System.out.println(e); } } + + public record ExplanationStatistics(String project, String commit, int changes) { + } } diff --git a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java index b17051e..7a788a4 100644 --- a/src/main/java/se/kth/explaining/CompilationErrorTemplate.java +++ b/src/main/java/se/kth/explaining/CompilationErrorTemplate.java @@ -17,7 +17,8 @@ public CompilationErrorTemplate(Changes changes, String fileName) { @Override public String getHead() { - BreakingChange breakingChange = changes.changes().iterator().next(); + BreakingChange breakingChange = !changes.changes().isEmpty() ?changes.changes().iterator().next() : null; + return "CI detected that the dependency upgrade from version **%s** to **%s** has failed. Here are details to help you understand and fix the problem:" .formatted(breakingChange.getApiChanges().getOldVersion().getName(), breakingChange.getApiChanges().getNewVersion().getName()); diff --git a/src/main/java/se/kth/explaining/ExplanationTemplate.java b/src/main/java/se/kth/explaining/ExplanationTemplate.java index c38ad2f..e162635 100644 --- a/src/main/java/se/kth/explaining/ExplanationTemplate.java +++ b/src/main/java/se/kth/explaining/ExplanationTemplate.java @@ -39,6 +39,9 @@ public String translateCategory(String category) { public void generateTemplate() { + if(changes.changes().isEmpty()){ + return; + } FileWriter markdownFile = null; try { From f1b05d5f4b97ee20f9ecbf76ca46dee8da0b6d90 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Mon, 1 Apr 2024 19:26:27 +0200 Subject: [PATCH 10/11] Adding first version of Explanation :) --- ...0a7cc31784ac4a9cc27d506a73ae589d6df36d6.md | 39 ++ ...abf7148300f40a1da0538ab060552bca4a2f1d8.md | 22 + ...e8625f492854a78c0e1ceff67b2abd7e081d42b.md | 83 +++ ...0d7545c5771b03dd9f6122bd5973a759eb2cd03.md | 21 + ...4fc5fa696f499cac48401b3a86882b3bf7d9b82.md | 121 ++++ ...65381d26b2c3d2278fde88c16f95807506451fe.md | 18 + ...cc7071371953a7880c2c2c3a5a32c36af7f88f9.md | 129 ++++ ...d43bce1de6a81ac017c233d72f348d3c850299e.md | 121 ++++ ...ef97ea6c5b6e34151fe6167001b69e003449f95.md | 18 + ...fc5281e0688c44025fe2b390a7d6e3e3088f385.md | 83 +++ ...50cafc7d6ae47d5d4803b5a5e58186eb81fa3b5.md | 121 ++++ ...8be199c825d419957bc753a9519e8e9ecc6a08e.md | 49 ++ ...d733a58045b4bf3669aa00d875e77f9db48c29b.md | 121 ++++ ...dfaa41bfb97674d11f09a5885011f19808548a3.md | 19 + ...6859167815292f279e570d39dd2ddbcf1622dc6.md | 18 + ...d29f9a6823fa68763d3148bc0353ac557f2a815.md | 18 + ...ff575ae202cdf76ddfa8a4228a1711a6fa1e921.md | 14 + ...6979207151a43361447d64afd2658df40033419.md | 509 ++++++++++++++ ...89aad6060454d0b7b34a144e0b345c5a3a199f5.md | 121 ++++ ...aab2869639226035c999c282f31efba15648ea3.md | 26 + ...b4c08d502d98d240855013ab76008f5e0243435.md | 121 ++++ ...287fc631fa78e7f11d39983824cdd4215b9a03b.md | 83 +++ ...769bdad76925da568294cb8a40e7d4469699ac3.md | 18 + ...adde4f1309a1078b39d013a30dc392c97ca7543.md | 18 + ...fcd0c3ad7727850c47602b17530dc355e5bd097.md | 23 + ...5200df71d5f6ab1c5502f74a5dc7bcbda459563.md | 14 + ...fb959ccb8c9b32bd6cbc9fc95ed70c4d9c85575.md | 83 +++ ...502e85f9ee2ff90ce96b47b5904f011e81e8bb8.md | 121 ++++ ...fbb6deb112102ef7507a8e68c5215e5f481d03b.md | 83 +++ ...5b2c15de16fd9fd612ce73672e29b613ce7a909.md | 83 +++ ...2b0fc53611f8705640773f18c8dd6a47eed3b7f.md | 121 ++++ ...4c360001134c2e3a9f7fbde88a07a9fd767e78e.md | 33 + ...d80bdff62b1b0520d3fb9e8d627532a38a7c60c.md | 121 ++++ ...e16b526695fe275ab5e6a1992916875d26da860.md | 83 +++ ...f6e5d1cc94f031f29b4838e7a8b56704c8c5de4.md | 121 ++++ ...6a48a6e557fad1ceda680618e0a34c7b8c5c087.md | 121 ++++ ...09896887acf0fe59320e01145a7034cd8d4e326.md | 18 + ...0f6ab75784dbc13ae8ff47298704c0756cf3a2c.md | 14 + ...32185c43be158d32c7d13c5b816991954eb45fa.md | 121 ++++ ...38182a8a0fe1ec039aed97e103864fce717a0be.md | 21 + ...3af06df4613be146bb9f8034e1a8a3098050c82.md | 83 +++ ...54b56b91c11f21b97d4903143b04b7c1f10c255.md | 21 + ...c9f7910968cd0aa2090e390045ae053693e839a.md | 121 ++++ ...70bd198fa1e1d65f86e071b8ebdd021141cfa95.md | 109 +++ ...a03f6488449fcfe8cd0a678b4c64891e1427a32.md | 636 ++++++++++++++++++ ...a33b5101edffc0242967cbf21c1016378b18483.md | 121 ++++ ...f3f7be3e2755d4a0f9c23bdcbfe3b97198fb31b.md | 109 +++ ...26cd85b97b24c07a2e446f43ac8793619fa0724.md | 83 +++ ...e15d2a6e52b049f6c9e7cc123a5402047a1f01a.md | 509 ++++++++++++++ Resources/template.md | 2 +- 50 files changed, 4885 insertions(+), 1 deletion(-) create mode 100644 Explanations/00a7cc31784ac4a9cc27d506a73ae589d6df36d6.md create mode 100644 Explanations/0abf7148300f40a1da0538ab060552bca4a2f1d8.md create mode 100644 Explanations/0e8625f492854a78c0e1ceff67b2abd7e081d42b.md create mode 100644 Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md create mode 100644 Explanations/14fc5fa696f499cac48401b3a86882b3bf7d9b82.md create mode 100644 Explanations/165381d26b2c3d2278fde88c16f95807506451fe.md create mode 100644 Explanations/1cc7071371953a7880c2c2c3a5a32c36af7f88f9.md create mode 100644 Explanations/1d43bce1de6a81ac017c233d72f348d3c850299e.md create mode 100644 Explanations/1ef97ea6c5b6e34151fe6167001b69e003449f95.md create mode 100644 Explanations/1fc5281e0688c44025fe2b390a7d6e3e3088f385.md create mode 100644 Explanations/250cafc7d6ae47d5d4803b5a5e58186eb81fa3b5.md create mode 100644 Explanations/28be199c825d419957bc753a9519e8e9ecc6a08e.md create mode 100644 Explanations/2d733a58045b4bf3669aa00d875e77f9db48c29b.md create mode 100644 Explanations/2dfaa41bfb97674d11f09a5885011f19808548a3.md create mode 100644 Explanations/36859167815292f279e570d39dd2ddbcf1622dc6.md create mode 100644 Explanations/3d29f9a6823fa68763d3148bc0353ac557f2a815.md create mode 100644 Explanations/3ff575ae202cdf76ddfa8a4228a1711a6fa1e921.md create mode 100644 Explanations/46979207151a43361447d64afd2658df40033419.md create mode 100644 Explanations/489aad6060454d0b7b34a144e0b345c5a3a199f5.md create mode 100644 Explanations/4aab2869639226035c999c282f31efba15648ea3.md create mode 100644 Explanations/4b4c08d502d98d240855013ab76008f5e0243435.md create mode 100644 Explanations/5287fc631fa78e7f11d39983824cdd4215b9a03b.md create mode 100644 Explanations/5769bdad76925da568294cb8a40e7d4469699ac3.md create mode 100644 Explanations/5adde4f1309a1078b39d013a30dc392c97ca7543.md create mode 100644 Explanations/5fcd0c3ad7727850c47602b17530dc355e5bd097.md create mode 100644 Explanations/65200df71d5f6ab1c5502f74a5dc7bcbda459563.md create mode 100644 Explanations/7fb959ccb8c9b32bd6cbc9fc95ed70c4d9c85575.md create mode 100644 Explanations/8502e85f9ee2ff90ce96b47b5904f011e81e8bb8.md create mode 100644 Explanations/8fbb6deb112102ef7507a8e68c5215e5f481d03b.md create mode 100644 Explanations/95b2c15de16fd9fd612ce73672e29b613ce7a909.md create mode 100644 Explanations/a2b0fc53611f8705640773f18c8dd6a47eed3b7f.md create mode 100644 Explanations/a4c360001134c2e3a9f7fbde88a07a9fd767e78e.md create mode 100644 Explanations/ad80bdff62b1b0520d3fb9e8d627532a38a7c60c.md create mode 100644 Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md create mode 100644 Explanations/af6e5d1cc94f031f29b4838e7a8b56704c8c5de4.md create mode 100644 Explanations/b6a48a6e557fad1ceda680618e0a34c7b8c5c087.md create mode 100644 Explanations/c09896887acf0fe59320e01145a7034cd8d4e326.md create mode 100644 Explanations/c0f6ab75784dbc13ae8ff47298704c0756cf3a2c.md create mode 100644 Explanations/c32185c43be158d32c7d13c5b816991954eb45fa.md create mode 100644 Explanations/d38182a8a0fe1ec039aed97e103864fce717a0be.md create mode 100644 Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md create mode 100644 Explanations/d54b56b91c11f21b97d4903143b04b7c1f10c255.md create mode 100644 Explanations/dc9f7910968cd0aa2090e390045ae053693e839a.md create mode 100644 Explanations/e70bd198fa1e1d65f86e071b8ebdd021141cfa95.md create mode 100644 Explanations/ea03f6488449fcfe8cd0a678b4c64891e1427a32.md create mode 100644 Explanations/ea33b5101edffc0242967cbf21c1016378b18483.md create mode 100644 Explanations/ef3f7be3e2755d4a0f9c23bdcbfe3b97198fb31b.md create mode 100644 Explanations/f26cd85b97b24c07a2e446f43ac8793619fa0724.md create mode 100644 Explanations/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md diff --git a/Explanations/00a7cc31784ac4a9cc27d506a73ae589d6df36d6.md b/Explanations/00a7cc31784ac4a9cc27d506a73ae589d6df36d6.md new file mode 100644 index 0000000..99d0c0e --- /dev/null +++ b/Explanations/00a7cc31784ac4a9cc27d506a73ae589d6df36d6.md @@ -0,0 +1,39 @@ +CI detected that the dependency upgrade from version **mina-core-2.1.5** to **mina-core-2.2.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **2** instructions which has been modified in the new version of the dependency. + *
+ Method setUseClientMode(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /quickfixj/quickfixj-core/src/main/java/quickfix/mina/acceptor/AbstractSocketAcceptor.java:[136,18] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1552) + * An error was detected in line 136 which is making use of an outdated API. + ``` java + 136 sslFilter.setUseClientMode(false); + ``` + * >[[ERROR] /quickfixj/quickfixj-core/src/main/java/quickfix/mina/initiator/IoSessionInitiator.java:[195,22] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1555) + * An error was detected in line 195 which is making use of an outdated API. + ``` java + 195 sslFilter.setUseClientMode(true); + ``` + +
+ +
+ *
+ Method initiateHandshake(org.apache.mina.core.session.IoSession) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /quickfixj/quickfixj-core/src/main/java/quickfix/mina/initiator/InitiatorProxyIoHandler.java:[65,27] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1565) + * An error was detected in line 65 which is making use of an outdated API. + ``` java + 65 this.sslFilter.initiateHandshake(ioSession); + ``` + +
+ +
+ + diff --git a/Explanations/0abf7148300f40a1da0538ab060552bca4a2f1d8.md b/Explanations/0abf7148300f40a1da0538ab060552bca4a2f1d8.md new file mode 100644 index 0000000..8aa6ccc --- /dev/null +++ b/Explanations/0abf7148300f40a1da0538ab060552bca4a2f1d8.md @@ -0,0 +1,22 @@ +CI detected that the dependency upgrade from version **jasperreports-6.18.1** to **jasperreports-6.19.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method setLineWidth() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /biapi/src/main/java/xdev/tableexport/export/ReportBuilder.java:[369,81] incompatible types: int cannot be converted to java.lang.Float](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1534) + * An error was detected in line 369 which is making use of an outdated API. + ``` java + 369 textField.getLineBox().getPen().setLineWidth(border.getLineWidth()); + ``` +
+ + * >[[ERROR] /biapi/src/main/java/xdev/tableexport/export/ReportBuilder.java:[369,81] incompatible types: int cannot be converted to java.lang.Float](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1534) + + * An error was detected in line 369 which is making use of an outdated API. + ``` java + 369 textField.getLineBox().getPen().setLineWidth(border.getLineWidth()); + ``` +
+ + diff --git a/Explanations/0e8625f492854a78c0e1ceff67b2abd7e081d42b.md b/Explanations/0e8625f492854a78c0e1ceff67b2abd7e081d42b.md new file mode 100644 index 0000000..cf0e7b7 --- /dev/null +++ b/Explanations/0e8625f492854a78c0e1ceff67b2abd7e081d42b.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.10** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1252) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1243) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1240) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1249) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md b/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md new file mode 100644 index 0000000..9cfa00b --- /dev/null +++ b/Explanations/10d7545c5771b03dd9f6122bd5973a759eb2cd03.md @@ -0,0 +1,21 @@ +CI detected that the dependency upgrade from version **dropwizard-client-2.1.5** to **dropwizard-client-4.0.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method using() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /lithium/src/main/java/com/wire/lithium/Server.java:[160,16] cannot access io.dropwizard.core.setup.Environment](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2818) + * An error was detected in line 160 which is making use of an outdated API. + ``` java + 160 new io.dropwizard.client.JerseyClientBuilder(env).using(config.getJerseyClient()); + ``` + + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + HttpClientBuilder using(List); + ``` + ``` java + HttpClientBuilder using(DnsResolver); + ``` + + diff --git a/Explanations/14fc5fa696f499cac48401b3a86882b3bf7d9b82.md b/Explanations/14fc5fa696f499cac48401b3a86882b3bf7d9b82.md new file mode 100644 index 0000000..1a0ef63 --- /dev/null +++ b/Explanations/14fc5fa696f499cac48401b3a86882b3bf7d9b82.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.21.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2017) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2014) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2008) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2017) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/165381d26b2c3d2278fde88c16f95807506451fe.md b/Explanations/165381d26b2c3d2278fde88c16f95807506451fe.md new file mode 100644 index 0000000..edd4b78 --- /dev/null +++ b/Explanations/165381d26b2c3d2278fde88c16f95807506451fe.md @@ -0,0 +1,18 @@ +CI detected that the dependency upgrade from version **javaparser-core-3.18.0** to **javaparser-core-3.24.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method setPrintComments(boolean) which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /scheduler/safeplace/src/test/java/org/btrplace/safeplace/DSN.java:[335,21] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2378) + * An error was detected in line 335 which is making use of an outdated API. + ``` java + 335 new com.github.javaparser.printer.PrettyPrinterConfiguration().setPrintComments(false); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + PrettyPrinterConfiguration setPrintComments(boolean); + ``` + + diff --git a/Explanations/1cc7071371953a7880c2c2c3a5a32c36af7f88f9.md b/Explanations/1cc7071371953a7880c2c2c3a5a32c36af7f88f9.md new file mode 100644 index 0000000..0c7a73a --- /dev/null +++ b/Explanations/1cc7071371953a7880c2c2c3a5a32c36af7f88f9.md @@ -0,0 +1,129 @@ +CI detected that the dependency upgrade from version **assertj-core-3.22.0** to **assertj-core-3.23.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method with(AuxiliaryType.NamingStrategy.SuffixingRandom) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/VavrAssumptions.java:[50,26] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1135) + * An error was detected in line 50 which is making use of an outdated API. + ``` java + 50 new org.assertj.core.internal.bytebuddy.ByteBuddy().with(org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeValidation.DISABLED).with(new org.assertj.core.internal.bytebuddy.implementation.auxiliary.AuxiliaryType.NamingStrategy.SuffixingRandom("Assertj$Assumptions")); + ``` + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/VavrAssumptions.java:[50,26] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1135) + * An error was detected in line 50 which is making use of an outdated API. + ``` java + 50 new org.assertj.core.internal.bytebuddy.ByteBuddy().with(org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeValidation.DISABLED).with(new org.assertj.core.internal.bytebuddy.implementation.auxiliary.AuxiliaryType.NamingStrategy.SuffixingRandom("Assertj$Assumptions")); + ``` + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/VavrAssumptions.java:[50,26] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1135) + * An error was detected in line 50 which is making use of an outdated API. + ``` java + 50 new org.assertj.core.internal.bytebuddy.ByteBuddy().with(org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeValidation.DISABLED); + ``` + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/VavrAssumptions.java:[50,26] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1135) + * An error was detected in line 50 which is making use of an outdated API. + ``` java + 50 new org.assertj.core.internal.bytebuddy.ByteBuddy().with(org.assertj.core.internal.bytebuddy.dynamic.scaffold.TypeValidation.DISABLED); + ``` + +
+ +
+ *
+ Method isAvailable() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java:[30,26] package ClassInjector does not exist](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1159) + * An error was detected in line 30 which is making use of an outdated API. + ``` java + 30 org.assertj.core.internal.bytebuddy.dynamic.loading.ClassInjector.UsingReflection.isAvailable(); + ``` + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java:[30,26] package ClassInjector does not exist](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1159) + * An error was detected in line 30 which is making use of an outdated API. + ``` java + 30 org.assertj.core.internal.bytebuddy.dynamic.loading.ClassInjector.UsingReflection.isAvailable(); + ``` + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java:[32,33] package ClassInjector does not exist](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1161) + * An error was detected in line 32 which is making use of an outdated API. + ``` java + 32 org.assertj.core.internal.bytebuddy.dynamic.loading.ClassInjector.UsingLookup.isAvailable(); + ``` + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java:[32,33] package ClassInjector does not exist](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1161) + * An error was detected in line 32 which is making use of an outdated API. + ``` java + 32 org.assertj.core.internal.bytebuddy.dynamic.loading.ClassInjector.UsingLookup.isAvailable(); + ``` + +
+ +
+ *
+ Method of(java.lang.Object) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java:[34,44] package ClassLoadingStrategy does not exist](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1162) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 org.assertj.core.internal.bytebuddy.dynamic.loading.ClassLoadingStrategy.UsingLookup.of(org.assertj.vavr.api.ClassLoadingStrategyFactory.PRIVATE_LOOKUP_IN.invoke(null, assertClass, org.assertj.vavr.api.ClassLoadingStrategyFactory.LOOKUP)); + ``` + +
+ +
+ *
+ Method invoke(java.lang.Object,java.lang.Object[]) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java:[34,44] package ClassLoadingStrategy does not exist](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1162) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 org.assertj.vavr.api.ClassLoadingStrategyFactory.PRIVATE_LOOKUP_IN.invoke(null, assertClass, org.assertj.vavr.api.ClassLoadingStrategyFactory.LOOKUP); + ``` + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/ClassLoadingStrategyFactory.java:[34,44] package ClassLoadingStrategy does not exist](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1162) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 org.assertj.vavr.api.ClassLoadingStrategyFactory.PRIVATE_LOOKUP_IN.invoke(null, assertClass, org.assertj.vavr.api.ClassLoadingStrategyFactory.LOOKUP); + ``` + +
+ +
+ *
+ Method to(java.lang.Class) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/VavrAssumptions.java:[53,26] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1138) + * An error was detected in line 53 which is making use of an outdated API. + ``` java + 53 org.assertj.core.internal.bytebuddy.implementation.MethodDelegation.to(org.assertj.vavr.api.VavrAssumptions.AssumptionMethodInterceptor.class); + ``` + +
+ +
+ *
+ Method any() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /assertj-vavr/src/main/java/org/assertj/vavr/api/VavrAssumptions.java:[223,25] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1181) + * An error was detected in line 223 which is making use of an outdated API. + ``` java + 223 any(); + ``` + +
+ +
+ + diff --git a/Explanations/1d43bce1de6a81ac017c233d72f348d3c850299e.md b/Explanations/1d43bce1de6a81ac017c233d72f348d3c850299e.md new file mode 100644 index 0000000..5ede774 --- /dev/null +++ b/Explanations/1d43bce1de6a81ac017c233d72f348d3c850299e.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.15.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2076) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2073) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2067) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2070) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2070) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2076) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/1ef97ea6c5b6e34151fe6167001b69e003449f95.md b/Explanations/1ef97ea6c5b6e34151fe6167001b69e003449f95.md new file mode 100644 index 0000000..ecf5bb8 --- /dev/null +++ b/Explanations/1ef97ea6c5b6e34151fe6167001b69e003449f95.md @@ -0,0 +1,18 @@ +CI detected that the dependency upgrade from version **datafaker-1.3.0** to **datafaker-1.4.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method between(java.util.Date,java.util.Date) which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /flink-faker/src/main/java/com/github/knaufk/flink/faker/DateTime.java:[45,40] incompatible types: java.util.Date cannot be converted to java.sql.Timestamp](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:709) + * An error was detected in line 45 which is making use of an outdated API. + ``` java + 45 super.between(from, to); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Timestamp between(Timestamp,Timestamp); + ``` + + diff --git a/Explanations/1fc5281e0688c44025fe2b390a7d6e3e3088f385.md b/Explanations/1fc5281e0688c44025fe2b390a7d6e3e3088f385.md new file mode 100644 index 0000000..a88bdc0 --- /dev/null +++ b/Explanations/1fc5281e0688c44025fe2b390a7d6e3e3088f385.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.11** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1252) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1243) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1240) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1249) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/250cafc7d6ae47d5d4803b5a5e58186eb81fa3b5.md b/Explanations/250cafc7d6ae47d5d4803b5a5e58186eb81fa3b5.md new file mode 100644 index 0000000..fea5fca --- /dev/null +++ b/Explanations/250cafc7d6ae47d5d4803b5a5e58186eb81fa3b5.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.21.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2017) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2014) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2008) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2017) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/28be199c825d419957bc753a9519e8e9ecc6a08e.md b/Explanations/28be199c825d419957bc753a9519e8e9ecc6a08e.md new file mode 100644 index 0000000..f66258e --- /dev/null +++ b/Explanations/28be199c825d419957bc753a9519e8e9ecc6a08e.md @@ -0,0 +1,49 @@ +CI detected that the dependency upgrade from version **maven-dependency-tree-2.2** to **maven-dependency-tree-3.1.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **2** instructions which has been modified in the new version of the dependency. + *
+ Method buildDependencyGraph() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /license-maven-plugin/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/dependencies/MavenProjectLicenses.java:[160,61] incompatible types: org.apache.maven.project.MavenProject cannot be converted to org.apache.maven.project.ProjectBuildingRequest](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1323) + * An error was detected in line 160 which is making use of an outdated API. + ``` java + 160 getGraph().buildDependencyGraph(project, getFilter()); + ``` + * >[[ERROR] /license-maven-plugin/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/dependencies/MavenProjectLicenses.java:[160,61] incompatible types: org.apache.maven.project.MavenProject cannot be converted to org.apache.maven.project.ProjectBuildingRequest](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1323) + * An error was detected in line 160 which is making use of an outdated API. + ``` java + 160 getGraph().buildDependencyGraph(project, getFilter()); + ``` + +
+ + To address this incompatibility, there are 3 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + DependencyNode buildDependencyGraph(ProjectBuildingRequest,ArtifactFilter); + ``` + ``` java + DependencyNode buildDependencyGraph(ProjectBuildingRequest,ArtifactFilter); + ``` + ``` java + DependencyNode buildDependencyGraph(ProjectBuildingRequest,ArtifactFilter,Collection); + ``` +
+ *
+ Method getChildren() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /license-maven-plugin/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/dependencies/MavenProjectLicenses.java:[160,61] incompatible types: org.apache.maven.project.MavenProject cannot be converted to org.apache.maven.project.ProjectBuildingRequest](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1323) + * An error was detected in line 160 which is making use of an outdated API. + ``` java + 160 getGraph().buildDependencyGraph(project, getFilter()).getChildren(); + ``` + +
+ +
+ + diff --git a/Explanations/2d733a58045b4bf3669aa00d875e77f9db48c29b.md b/Explanations/2d733a58045b4bf3669aa00d875e77f9db48c29b.md new file mode 100644 index 0000000..6c23e82 --- /dev/null +++ b/Explanations/2d733a58045b4bf3669aa00d875e77f9db48c29b.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.11.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2080) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2077) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2071) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2074) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2074) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2080) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/2dfaa41bfb97674d11f09a5885011f19808548a3.md b/Explanations/2dfaa41bfb97674d11f09a5885011f19808548a3.md new file mode 100644 index 0000000..6dfda8e --- /dev/null +++ b/Explanations/2dfaa41bfb97674d11f09a5885011f19808548a3.md @@ -0,0 +1,19 @@ +CI detected that the dependency upgrade from version **mockito-core-1.10.19** to **mockito-core-5.1.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getArgumentAt() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /bval/bval-jsr/src/test/java/org/apache/bval/jsr/DefaultMessageInterpolatorTest.java:[318,49] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1667) + * An error was detected in line 318 which is making use of an outdated API. + ``` java + 318 invocation.getArgumentAt(0, java.lang.Class.class); + ``` + * >[[ERROR] /bval/bval-jsr/src/test/java/org/apache/bval/jsr/DefaultMessageInterpolatorTest.java:[318,49] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1667) + * An error was detected in line 318 which is making use of an outdated API. + ``` java + 318 invocation.getArgumentAt(0, java.lang.Class.class); + ``` + + + diff --git a/Explanations/36859167815292f279e570d39dd2ddbcf1622dc6.md b/Explanations/36859167815292f279e570d39dd2ddbcf1622dc6.md new file mode 100644 index 0000000..88e3eef --- /dev/null +++ b/Explanations/36859167815292f279e570d39dd2ddbcf1622dc6.md @@ -0,0 +1,18 @@ +CI detected that the dependency upgrade from version **fop-1.0** to **fop-2.2** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method newInstance() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /billy/billy-gin/src/main/java/com/premiumminds/billy/gin/services/impl/pdf/FOPPDFTransformer.java:[115,43] no suitable method found for newInstance(no arguments)](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1233) + * An error was detected in line 115 which is making use of an outdated API. + ``` java + 115 org.apache.fop.apps.FopFactory.newInstance(); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + StructureTreeEventHandler newInstance(ContentHandler); + ``` + + diff --git a/Explanations/3d29f9a6823fa68763d3148bc0353ac557f2a815.md b/Explanations/3d29f9a6823fa68763d3148bc0353ac557f2a815.md new file mode 100644 index 0000000..77eca7e --- /dev/null +++ b/Explanations/3d29f9a6823fa68763d3148bc0353ac557f2a815.md @@ -0,0 +1,18 @@ +CI detected that the dependency upgrade from version **sonarlint-core-8.15.0.65216** to **sonarlint-core-9.1.1.74346** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getEnabledLanguages() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /sorald/sorald/src/main/java/sorald/sonar/SonarLintEngine.java:[163,17] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1267) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 sorald.sonar.SonarLintEngine.globalConfig.getEnabledLanguages(); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Set getEnabledLanguages(); + ``` + + diff --git a/Explanations/3ff575ae202cdf76ddfa8a4228a1711a6fa1e921.md b/Explanations/3ff575ae202cdf76ddfa8a4228a1711a6fa1e921.md new file mode 100644 index 0000000..dcdbad9 --- /dev/null +++ b/Explanations/3ff575ae202cdf76ddfa8a4228a1711a6fa1e921.md @@ -0,0 +1,14 @@ +CI detected that the dependency upgrade from version **plexus-container-default-1.0-alpha-30** to **plexus-container-default-2.1.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getLoggerManager() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /plexus-archiver/src/test/java/org/codehaus/plexus/archiver/DuplicateFilesTest.java:[37,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:710) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 getContainer().getLoggerManager(); + ``` + + + diff --git a/Explanations/46979207151a43361447d64afd2658df40033419.md b/Explanations/46979207151a43361447d64afd2658df40033419.md new file mode 100644 index 0000000..3a40543 --- /dev/null +++ b/Explanations/46979207151a43361447d64afd2658df40033419.md @@ -0,0 +1,509 @@ +CI detected that the dependency upgrade from version **jaxb2-basics-runtime-0.13.1** to **jaxb2-basics-runtime-1.11.1-PUBLISHED-BY-MISTAKE** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getInstance() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SupplierAddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1762) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[418,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1930) + * An error was detected in line 418 which is making use of an outdated API. + ``` java + 418 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[653,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1933) + * An error was detected in line 653 which is making use of an outdated API. + ``` java + 653 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1365,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1936) + * An error was detected in line 1365 which is making use of an outdated API. + ``` java + 1365 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1658,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1939) + * An error was detected in line 1658 which is making use of an outdated API. + ``` java + 1658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1844,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1942) + * An error was detected in line 1844 which is making use of an outdated API. + ``` java + 1844 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[2285,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1945) + * An error was detected in line 2285 which is making use of an outdated API. + ``` java + 2285 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[2605,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1948) + * An error was detected in line 2605 which is making use of an outdated API. + ``` java + 2605 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3293,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1951) + * An error was detected in line 3293 which is making use of an outdated API. + ``` java + 3293 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3581,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1954) + * An error was detected in line 3581 which is making use of an outdated API. + ``` java + 3581 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3833,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1957) + * An error was detected in line 3833 which is making use of an outdated API. + ``` java + 3833 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[4346,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1960) + * An error was detected in line 4346 which is making use of an outdated API. + ``` java + 4346 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[4665,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1963) + * An error was detected in line 4665 which is making use of an outdated API. + ``` java + 4665 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5154,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1966) + * An error was detected in line 5154 which is making use of an outdated API. + ``` java + 5154 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5379,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1969) + * An error was detected in line 5379 which is making use of an outdated API. + ``` java + 5379 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5560,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1972) + * An error was detected in line 5560 which is making use of an outdated API. + ``` java + 5560 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[6030,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1975) + * An error was detected in line 6030 which is making use of an outdated API. + ``` java + 6030 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SpecialRegimes.java:[108,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1888) + * An error was detected in line 108 which is making use of an outdated API. + ``` java + 108 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/Supplier.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1759) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/OrderReferences.java:[107,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1981) + * An error was detected in line 107 which is making use of an outdated API. + ``` java + 107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/References.java:[104,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2005) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Payment.java:[136,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2002) + * An error was detected in line 136 which is making use of an outdated API. + ``` java + 136 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Header.java:[658,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1765) + * An error was detected in line 658 which is making use of an outdated API. + ``` java + 658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/ShippingPointStructure.java:[185,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1987) + * An error was detected in line 185 which is making use of an outdated API. + ``` java + 185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/ShippingPointStructure.java:[185,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1879) + * An error was detected in line 185 which is making use of an outdated API. + ``` java + 185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/TaxTable.java:[85,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1909) + * An error was detected in line 85 which is making use of an outdated API. + ``` java + 85 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/MovementTax.java:[163,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1882) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/PaymentMethod.java:[136,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1861) + * An error was detected in line 136 which is making use of an outdated API. + ``` java + 136 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1771) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AuditFile.java:[405,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1774) + * An error was detected in line 405 which is making use of an outdated API. + ``` java + 405 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[552,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1792) + * An error was detected in line 552 which is making use of an outdated API. + ``` java + 552 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[792,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1795) + * An error was detected in line 792 which is making use of an outdated API. + ``` java + 792 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1504,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1798) + * An error was detected in line 1504 which is making use of an outdated API. + ``` java + 1504 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1798,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1801) + * An error was detected in line 1798 which is making use of an outdated API. + ``` java + 1798 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1984,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1804) + * An error was detected in line 1984 which is making use of an outdated API. + ``` java + 1984 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[2425,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1807) + * An error was detected in line 2425 which is making use of an outdated API. + ``` java + 2425 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[2753,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1810) + * An error was detected in line 2753 which is making use of an outdated API. + ``` java + 2753 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3326,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1813) + * An error was detected in line 3326 which is making use of an outdated API. + ``` java + 3326 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3590,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1816) + * An error was detected in line 3590 which is making use of an outdated API. + ``` java + 3590 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3814,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1819) + * An error was detected in line 3814 which is making use of an outdated API. + ``` java + 3814 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3914,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1822) + * An error was detected in line 3914 which is making use of an outdated API. + ``` java + 3914 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4186,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1825) + * An error was detected in line 4186 which is making use of an outdated API. + ``` java + 4186 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4353,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1828) + * An error was detected in line 4353 which is making use of an outdated API. + ``` java + 4353 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4625,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1831) + * An error was detected in line 4625 which is making use of an outdated API. + ``` java + 4625 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5321,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1834) + * An error was detected in line 5321 which is making use of an outdated API. + ``` java + 5321 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5610,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1837) + * An error was detected in line 5610 which is making use of an outdated API. + ``` java + 5610 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5862,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1840) + * An error was detected in line 5862 which is making use of an outdated API. + ``` java + 5862 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[6375,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1843) + * An error was detected in line 6375 which is making use of an outdated API. + ``` java + 6375 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[6695,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1846) + * An error was detected in line 6695 which is making use of an outdated API. + ``` java + 6695 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7185,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1849) + * An error was detected in line 7185 which is making use of an outdated API. + ``` java + 7185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7439,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1852) + * An error was detected in line 7439 which is making use of an outdated API. + ``` java + 7439 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7625,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1855) + * An error was detected in line 7625 which is making use of an outdated API. + ``` java + 7625 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[8095,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1858) + * An error was detected in line 8095 which is making use of an outdated API. + ``` java + 8095 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Supplier.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1903) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Settlement.java:[164,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1891) + * An error was detected in line 164 which is making use of an outdated API. + ``` java + 164 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1885) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedger.java:[275,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1897) + * An error was detected in line 275 which is making use of an outdated API. + ``` java + 275 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/Product.java:[218,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1921) + * An error was detected in line 218 which is making use of an outdated API. + ``` java + 218 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2014) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/AuditFile.java:[400,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2017) + * An error was detected in line 400 which is making use of an outdated API. + ``` java + 400 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Currency.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1867) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/MovementTax.java:[163,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1990) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AddressStructurePT.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1768) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[570,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2020) + * An error was detected in line 570 which is making use of an outdated API. + ``` java + 570 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[814,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2023) + * An error was detected in line 814 which is making use of an outdated API. + ``` java + 814 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[1557,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2026) + * An error was detected in line 1557 which is making use of an outdated API. + ``` java + 1557 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[1856,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2029) + * An error was detected in line 1856 which is making use of an outdated API. + ``` java + 1856 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2042,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2032) + * An error was detected in line 2042 which is making use of an outdated API. + ``` java + 2042 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2567,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2035) + * An error was detected in line 2567 which is making use of an outdated API. + ``` java + 2567 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2912,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2038) + * An error was detected in line 2912 which is making use of an outdated API. + ``` java + 2912 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[3514,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2041) + * An error was detected in line 3514 which is making use of an outdated API. + ``` java + 3514 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[3783,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2044) + * An error was detected in line 3783 which is making use of an outdated API. + ``` java + 3783 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4007,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2047) + * An error was detected in line 4007 which is making use of an outdated API. + ``` java + 4007 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4107,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2050) + * An error was detected in line 4107 which is making use of an outdated API. + ``` java + 4107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4407,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2053) + * An error was detected in line 4407 which is making use of an outdated API. + ``` java + 4407 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4579,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2056) + * An error was detected in line 4579 which is making use of an outdated API. + ``` java + 4579 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Settlement.java:[164,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1999) + * An error was detected in line 164 which is making use of an outdated API. + ``` java + 164 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[226,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1780) + * An error was detected in line 226 which is making use of an outdated API. + ``` java + 226 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[422,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1783) + * An error was detected in line 422 which is making use of an outdated API. + ``` java + 422 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[812,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1786) + * An error was detected in line 812 which is making use of an outdated API. + ``` java + 812 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[1113,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1789) + * An error was detected in line 1113 which is making use of an outdated API. + ``` java + 1113 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/TaxTableEntry.java:[252,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1912) + * An error was detected in line 252 which is making use of an outdated API. + ``` java + 252 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/PaymentTax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1870) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Tax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1876) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Tax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1984) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Currency.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1978) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/References.java:[104,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1927) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1993) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Customer.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1900) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/WithholdingTax.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1864) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/WithholdingTax.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1996) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Header.java:[658,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1777) + * An error was detected in line 658 which is making use of an outdated API. + ``` java + 658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2008) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AuditFile.java:[405,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 405 which is making use of an outdated API. + ``` java + 405 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AddressStructurePT.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1918) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/References.java:[104,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1894) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Product.java:[190,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1906) + * An error was detected in line 190 which is making use of an outdated API. + ``` java + 190 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/OrderReferences.java:[107,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1873) + * An error was detected in line 107 which is making use of an outdated API. + ``` java + 107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SupplierAddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1915) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/CustomsDetails.java:[116,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1924) + * An error was detected in line 116 which is making use of an outdated API. + ``` java + 116 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + + + diff --git a/Explanations/489aad6060454d0b7b34a144e0b345c5a3a199f5.md b/Explanations/489aad6060454d0b7b34a144e0b345c5a3a199f5.md new file mode 100644 index 0000000..8b52459 --- /dev/null +++ b/Explanations/489aad6060454d0b7b34a144e0b345c5a3a199f5.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.19.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1979) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1976) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1970) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1973) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1973) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1979) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/4aab2869639226035c999c282f31efba15648ea3.md b/Explanations/4aab2869639226035c999c282f31efba15648ea3.md new file mode 100644 index 0000000..ad8f86f --- /dev/null +++ b/Explanations/4aab2869639226035c999c282f31efba15648ea3.md @@ -0,0 +1,26 @@ +CI detected that the dependency upgrade from version **asto-core-v1.13.0** to **asto-core-v1.15.3** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method newStorage() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /http/src/main/java/com/artipie/security/policy/YamlPolicyFactory.java:[43,25] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1292) + * An error was detected in line 43 which is making use of an outdated API. + ``` java + 43 new com.artipie.asto.factory.Storages().newStorage(sub.string("type"), com.amihaiemil.eoyaml.Yaml.createYamlInput(sub.toString()).readYamlMapping()); + ``` + * >[[ERROR] /http/src/main/java/com/artipie/security/policy/YamlPolicyFactory.java:[43,25] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1292) + * An error was detected in line 43 which is making use of an outdated API. + ``` java + 43 new com.artipie.asto.factory.Storages().newStorage(sub.string("type"), com.amihaiemil.eoyaml.Yaml.createYamlInput(sub.toString()).readYamlMapping()); + ``` + + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + Storage newStorage(Config); + ``` + ``` java + Storage newStorage(Config); + ``` + + diff --git a/Explanations/4b4c08d502d98d240855013ab76008f5e0243435.md b/Explanations/4b4c08d502d98d240855013ab76008f5e0243435.md new file mode 100644 index 0000000..da5475c --- /dev/null +++ b/Explanations/4b4c08d502d98d240855013ab76008f5e0243435.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.15.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2134) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2131) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2125) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2128) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2128) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2134) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/5287fc631fa78e7f11d39983824cdd4215b9a03b.md b/Explanations/5287fc631fa78e7f11d39983824cdd4215b9a03b.md new file mode 100644 index 0000000..d50dc58 --- /dev/null +++ b/Explanations/5287fc631fa78e7f11d39983824cdd4215b9a03b.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.14** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1278) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1269) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1266) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1275) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/5769bdad76925da568294cb8a40e7d4469699ac3.md b/Explanations/5769bdad76925da568294cb8a40e7d4469699ac3.md new file mode 100644 index 0000000..17f7cb6 --- /dev/null +++ b/Explanations/5769bdad76925da568294cb8a40e7d4469699ac3.md @@ -0,0 +1,18 @@ +CI detected that the dependency upgrade from version **github-api-1.93** to **github-api-1.313** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getRepository(java.lang.String) which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /incrementals-tools/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java:[239,126] status has private access in org.kohsuke.github.GHCompare](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1130) + * An error was detected in line 239 which is making use of an outdated API. + ``` java + 239 org.kohsuke.github.GitHub.connect().getRepository((ghc.owner + '/') + ghc.repo); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + GHRepository getRepository(); + ``` + + diff --git a/Explanations/5adde4f1309a1078b39d013a30dc392c97ca7543.md b/Explanations/5adde4f1309a1078b39d013a30dc392c97ca7543.md new file mode 100644 index 0000000..041f7fe --- /dev/null +++ b/Explanations/5adde4f1309a1078b39d013a30dc392c97ca7543.md @@ -0,0 +1,18 @@ +CI detected that the dependency upgrade from version **sonarlint-core-8.15.0.65216** to **sonarlint-core-9.1.0.74321** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getEnabledLanguages() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /sorald/sorald/src/main/java/sorald/sonar/SonarLintEngine.java:[163,17] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1267) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 sorald.sonar.SonarLintEngine.globalConfig.getEnabledLanguages(); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Set getEnabledLanguages(); + ``` + + diff --git a/Explanations/5fcd0c3ad7727850c47602b17530dc355e5bd097.md b/Explanations/5fcd0c3ad7727850c47602b17530dc355e5bd097.md new file mode 100644 index 0000000..6573559 --- /dev/null +++ b/Explanations/5fcd0c3ad7727850c47602b17530dc355e5bd097.md @@ -0,0 +1,23 @@ +CI detected that the dependency upgrade from version **pitest-entry-1.9.11** to **pitest-entry-1.10.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getClassInfo() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /pitest-mutation-testing-elements-plugin/src/main/java/org/pitest/elements/MutationReportListener.java:[105,38] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:276) + * An error was detected in line 105 which is making use of an outdated API. + ``` java + 105 coverage.getClassInfo(java.util.Collections.singleton(data.getMutatedClass())); + ``` + * >[[ERROR] /pitest-mutation-testing-elements-plugin/src/main/java/org/pitest/elements/MutationReportListener.java:[105,38] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:276) + * An error was detected in line 105 which is making use of an outdated API. + ``` java + 105 coverage.getClassInfo(java.util.Collections.singleton(data.getMutatedClass())); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + ClassInfoBuilder getClassInfo(ClassName,byte[],long); + ``` + + diff --git a/Explanations/65200df71d5f6ab1c5502f74a5dc7bcbda459563.md b/Explanations/65200df71d5f6ab1c5502f74a5dc7bcbda459563.md new file mode 100644 index 0000000..5ea5d73 --- /dev/null +++ b/Explanations/65200df71d5f6ab1c5502f74a5dc7bcbda459563.md @@ -0,0 +1,14 @@ +CI detected that the dependency upgrade from version **sonarlint-core-8.15.0.65216** to **sonarlint-core-8.19.0.72745** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getEnabledLanguages() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /sorald/sorald/src/main/java/sorald/sonar/SonarLintEngine.java:[163,17] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1267) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 sorald.sonar.SonarLintEngine.globalConfig.getEnabledLanguages(); + ``` + + + diff --git a/Explanations/7fb959ccb8c9b32bd6cbc9fc95ed70c4d9c85575.md b/Explanations/7fb959ccb8c9b32bd6cbc9fc95ed70c4d9c85575.md new file mode 100644 index 0000000..da0a69e --- /dev/null +++ b/Explanations/7fb959ccb8c9b32bd6cbc9fc95ed70c4d9c85575.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.12** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1254) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1245) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1242) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1251) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/8502e85f9ee2ff90ce96b47b5904f011e81e8bb8.md b/Explanations/8502e85f9ee2ff90ce96b47b5904f011e81e8bb8.md new file mode 100644 index 0000000..febbfb9 --- /dev/null +++ b/Explanations/8502e85f9ee2ff90ce96b47b5904f011e81e8bb8.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.20.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2013) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2010) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2004) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2007) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2007) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2013) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/8fbb6deb112102ef7507a8e68c5215e5f481d03b.md b/Explanations/8fbb6deb112102ef7507a8e68c5215e5f481d03b.md new file mode 100644 index 0000000..23e31c0 --- /dev/null +++ b/Explanations/8fbb6deb112102ef7507a8e68c5215e5f481d03b.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.7** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1302) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1293) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1290) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1299) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/95b2c15de16fd9fd612ce73672e29b613ce7a909.md b/Explanations/95b2c15de16fd9fd612ce73672e29b613ce7a909.md new file mode 100644 index 0000000..4a1ac80 --- /dev/null +++ b/Explanations/95b2c15de16fd9fd612ce73672e29b613ce7a909.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.13** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1282) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1273) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1270) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1279) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/a2b0fc53611f8705640773f18c8dd6a47eed3b7f.md b/Explanations/a2b0fc53611f8705640773f18c8dd6a47eed3b7f.md new file mode 100644 index 0000000..a820fa7 --- /dev/null +++ b/Explanations/a2b0fc53611f8705640773f18c8dd6a47eed3b7f.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.19.4** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2065) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2062) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2056) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2059) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2059) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2065) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/a4c360001134c2e3a9f7fbde88a07a9fd767e78e.md b/Explanations/a4c360001134c2e3a9f7fbde88a07a9fd767e78e.md new file mode 100644 index 0000000..656f815 --- /dev/null +++ b/Explanations/a4c360001134c2e3a9f7fbde88a07a9fd767e78e.md @@ -0,0 +1,33 @@ +CI detected that the dependency upgrade from version **reflections-0.9.9** to **reflections-0.10.2** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method apply(java.lang.String) which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /gauge-java/src/main/java/com/thoughtworks/gauge/scan/ClasspathScanner.java:[64,61] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1420) + * An error was detected in line 64 which is making use of an outdated API. + ``` java + 64 new org.reflections.util.FilterBuilder().include(".+\\.class").apply(s); + ``` + * >[[ERROR] /gauge-java/src/main/java/com/thoughtworks/gauge/scan/ClasspathScanner.java:[64,61] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1420) + * An error was detected in line 64 which is making use of an outdated API. + ``` java + 64 new org.reflections.util.FilterBuilder().include(".+\\.class").apply(s); + ``` + * >[[ERROR] /gauge-java/src/main/java/com/thoughtworks/gauge/scan/ClasspathScanner.java:[69,51] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1423) + * An error was detected in line 69 which is making use of an outdated API. + ``` java + 69 new org.reflections.util.FilterBuilder().include(regex).apply(s); + ``` + * >[[ERROR] /gauge-java/src/main/java/com/thoughtworks/gauge/scan/ClasspathScanner.java:[69,51] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1423) + * An error was detected in line 69 which is making use of an outdated API. + ``` java + 69 new org.reflections.util.FilterBuilder().include(regex).apply(s); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Set apply(Object); + ``` + + diff --git a/Explanations/ad80bdff62b1b0520d3fb9e8d627532a38a7c60c.md b/Explanations/ad80bdff62b1b0520d3fb9e8d627532a38a7c60c.md new file mode 100644 index 0000000..515362d --- /dev/null +++ b/Explanations/ad80bdff62b1b0520d3fb9e8d627532a38a7c60c.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.16.3** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2147) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2144) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2138) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2141) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2141) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2147) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md b/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md new file mode 100644 index 0000000..c39e814 --- /dev/null +++ b/Explanations/ae16b526695fe275ab5e6a1992916875d26da860.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-9.4.41.v20210516** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1177) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1168) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1165) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1174) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/af6e5d1cc94f031f29b4838e7a8b56704c8c5de4.md b/Explanations/af6e5d1cc94f031f29b4838e7a8b56704c8c5de4.md new file mode 100644 index 0000000..24363c1 --- /dev/null +++ b/Explanations/af6e5d1cc94f031f29b4838e7a8b56704c8c5de4.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.17.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2001) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1998) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1992) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1995) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1995) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2001) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/b6a48a6e557fad1ceda680618e0a34c7b8c5c087.md b/Explanations/b6a48a6e557fad1ceda680618e0a34c7b8c5c087.md new file mode 100644 index 0000000..69a502e --- /dev/null +++ b/Explanations/b6a48a6e557fad1ceda680618e0a34c7b8c5c087.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.18.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2008) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2002) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2005) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2005) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/c09896887acf0fe59320e01145a7034cd8d4e326.md b/Explanations/c09896887acf0fe59320e01145a7034cd8d4e326.md new file mode 100644 index 0000000..6bf1e4d --- /dev/null +++ b/Explanations/c09896887acf0fe59320e01145a7034cd8d4e326.md @@ -0,0 +1,18 @@ +CI detected that the dependency upgrade from version **github-api-1.93** to **github-api-1.314** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getRepository(java.lang.String) which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /incrementals-tools/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java:[239,126] status has private access in org.kohsuke.github.GHCompare](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1140) + * An error was detected in line 239 which is making use of an outdated API. + ``` java + 239 org.kohsuke.github.GitHub.connect().getRepository((ghc.owner + '/') + ghc.repo); + ``` + + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + GHRepository getRepository(); + ``` + + diff --git a/Explanations/c0f6ab75784dbc13ae8ff47298704c0756cf3a2c.md b/Explanations/c0f6ab75784dbc13ae8ff47298704c0756cf3a2c.md new file mode 100644 index 0000000..5ea5d73 --- /dev/null +++ b/Explanations/c0f6ab75784dbc13ae8ff47298704c0756cf3a2c.md @@ -0,0 +1,14 @@ +CI detected that the dependency upgrade from version **sonarlint-core-8.15.0.65216** to **sonarlint-core-8.19.0.72745** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getEnabledLanguages() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /sorald/sorald/src/main/java/sorald/sonar/SonarLintEngine.java:[163,17] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1267) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 sorald.sonar.SonarLintEngine.globalConfig.getEnabledLanguages(); + ``` + + + diff --git a/Explanations/c32185c43be158d32c7d13c5b816991954eb45fa.md b/Explanations/c32185c43be158d32c7d13c5b816991954eb45fa.md new file mode 100644 index 0000000..97fef1a --- /dev/null +++ b/Explanations/c32185c43be158d32c7d13c5b816991954eb45fa.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.10.2** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2076) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2073) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2067) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2070) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2070) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2076) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/d38182a8a0fe1ec039aed97e103864fce717a0be.md b/Explanations/d38182a8a0fe1ec039aed97e103864fce717a0be.md new file mode 100644 index 0000000..96e99bf --- /dev/null +++ b/Explanations/d38182a8a0fe1ec039aed97e103864fce717a0be.md @@ -0,0 +1,21 @@ +CI detected that the dependency upgrade from version **http-v1.1.4** to **http-v1.2.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method name() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /docker-adapter/src/test/java/com/artipie/docker/http/AuthTest.java:[353,60] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1209) + * An error was detected in line 353 which is making use of an outdated API. + ``` java + 353 user.name(); + ``` + + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + String name(); + ``` + ``` java + String name(); + ``` + + diff --git a/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md b/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md new file mode 100644 index 0000000..ed8993c --- /dev/null +++ b/Explanations/d3af06df4613be146bb9f8034e1a8a3098050c82.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.8** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:848) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:839) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:836) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:845) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/d54b56b91c11f21b97d4903143b04b7c1f10c255.md b/Explanations/d54b56b91c11f21b97d4903143b04b7c1f10c255.md new file mode 100644 index 0000000..c21789c --- /dev/null +++ b/Explanations/d54b56b91c11f21b97d4903143b04b7c1f10c255.md @@ -0,0 +1,21 @@ +CI detected that the dependency upgrade from version **google-cloud-pubsublite-0.6.0** to **google-cloud-pubsublite-0.18.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method of() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /java-pubsub-group-kafka-connector/src/main/java/com/google/pubsublite/kafka/sink/PublisherFactoryImpl.java:[53,17] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1114) + * An error was detected in line 53 which is making use of an outdated API. + ``` java + 53 com.google.cloud.pubsublite.internal.wire.PubsubContext.of(com.google.pubsublite.kafka.sink.PublisherFactoryImpl.FRAMEWORK); + ``` + + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + CloudRegion of(String); + ``` + ``` java + CloudRegionOrZone of(CloudRegion); + ``` + + diff --git a/Explanations/dc9f7910968cd0aa2090e390045ae053693e839a.md b/Explanations/dc9f7910968cd0aa2090e390045ae053693e839a.md new file mode 100644 index 0000000..aa4e363 --- /dev/null +++ b/Explanations/dc9f7910968cd0aa2090e390045ae053693e839a.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.8.3** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2076) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2073) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2067) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(DataSource); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2070) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2070) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2076) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(boolean); + ``` +
+ + diff --git a/Explanations/e70bd198fa1e1d65f86e071b8ebdd021141cfa95.md b/Explanations/e70bd198fa1e1d65f86e071b8ebdd021141cfa95.md new file mode 100644 index 0000000..a7964ef --- /dev/null +++ b/Explanations/e70bd198fa1e1d65f86e071b8ebdd021141cfa95.md @@ -0,0 +1,109 @@ +CI detected that the dependency upgrade from version **tinspin-indexes-1.7.1** to **tinspin-indexes-2.0.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method size() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2133) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.size(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int size(); + ``` + ``` java + int size(); + ``` +
+ *
+ Method dist() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2133) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords).dist(); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2133) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords).dist(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + double dist(double[],double[],double[]); + ``` + ``` java + double dist(double[],double[],double[]); + ``` +
+ *
+ Method create(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_Meshing.java:[164,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2142) + * An error was detected in line 164 which is making use of an outdated API. + ``` java + 164 org.tinspin.index.kdtree.KDTree.create(2, (p1, p2) -> { + final double deltaX = p1[0] - p2[0]; + final double deltaY = p1[1] - p2[1]; + return java.lang.Math.sqrt((deltaX * deltaX) + (deltaY * deltaY)); +}); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + Index$PointEntry create(double[],Object); + ``` + ``` java + CoverTree create(int,double,PointDistance); + ``` +
+ *
+ Method query1NN(double[]) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_CirclePacking.java:[226,31] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2136) + * An error was detected in line 226 which is making use of an outdated API. + ``` java + 226 tree.query1NN(new double[]{ p.x, p.y, largestR }); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_CirclePacking.java:[226,31] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2136) + * An error was detected in line 226 which is making use of an outdated API. + ``` java + 226 tree.query1NN(new double[]{ p.x, p.y, largestR }); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2133) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2133) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords); + ``` + +
+ +
+ + diff --git a/Explanations/ea03f6488449fcfe8cd0a678b4c64891e1427a32.md b/Explanations/ea03f6488449fcfe8cd0a678b4c64891e1427a32.md new file mode 100644 index 0000000..fdce77a --- /dev/null +++ b/Explanations/ea03f6488449fcfe8cd0a678b4c64891e1427a32.md @@ -0,0 +1,636 @@ +CI detected that the dependency upgrade from version **jedis-3.9.0** to **jedis-4.3.2** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **3** instructions which has been modified in the new version of the dependency. + *
+ Method sendCommand(java.lang.String,java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[39,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1166) + * An error was detected in line 39 which is making use of an outdated API. + ``` java + 39 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[39,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1166) + * An error was detected in line 39 which is making use of an outdated API. + ``` java + 39 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[57,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1172) + * An error was detected in line 57 which is making use of an outdated API. + ``` java + 57 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[57,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1172) + * An error was detected in line 57 which is making use of an outdated API. + ``` java + 57 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[78,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1178) + * An error was detected in line 78 which is making use of an outdated API. + ``` java + 78 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[78,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1178) + * An error was detected in line 78 which is making use of an outdated API. + ``` java + 78 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[100,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1184) + * An error was detected in line 100 which is making use of an outdated API. + ``` java + 100 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[100,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1184) + * An error was detected in line 100 which is making use of an outdated API. + ``` java + 100 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[121,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1190) + * An error was detected in line 121 which is making use of an outdated API. + ``` java + 121 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[121,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1190) + * An error was detected in line 121 which is making use of an outdated API. + ``` java + 121 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[141,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1196) + * An error was detected in line 141 which is making use of an outdated API. + ``` java + 141 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[141,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1196) + * An error was detected in line 141 which is making use of an outdated API. + ``` java + 141 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[165,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1202) + * An error was detected in line 165 which is making use of an outdated API. + ``` java + 165 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[165,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1202) + * An error was detected in line 165 which is making use of an outdated API. + ``` java + 165 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[190,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1208) + * An error was detected in line 190 which is making use of an outdated API. + ``` java + 190 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[190,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1208) + * An error was detected in line 190 which is making use of an outdated API. + ``` java + 190 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[246,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1214) + * An error was detected in line 246 which is making use of an outdated API. + ``` java + 246 client.sendCommand(RedisGraphCommand.DELETE, graphId); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[246,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1214) + * An error was detected in line 246 which is making use of an outdated API. + ``` java + 246 client.sendCommand(RedisGraphCommand.DELETE, graphId); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[41,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1095) + * An error was detected in line 41 which is making use of an outdated API. + ``` java + 41 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[41,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1095) + * An error was detected in line 41 which is making use of an outdated API. + ``` java + 41 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[59,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1101) + * An error was detected in line 59 which is making use of an outdated API. + ``` java + 59 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[59,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1101) + * An error was detected in line 59 which is making use of an outdated API. + ``` java + 59 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[80,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1107) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[80,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1107) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 client.sendCommand(RedisGraphCommand.QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[102,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1113) + * An error was detected in line 102 which is making use of an outdated API. + ``` java + 102 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[102,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1113) + * An error was detected in line 102 which is making use of an outdated API. + ``` java + 102 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, query, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[126,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1119) + * An error was detected in line 126 which is making use of an outdated API. + ``` java + 126 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[126,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1119) + * An error was detected in line 126 which is making use of an outdated API. + ``` java + 126 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[146,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1125) + * An error was detected in line 146 which is making use of an outdated API. + ``` java + 146 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[146,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1125) + * An error was detected in line 146 which is making use of an outdated API. + ``` java + 146 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[166,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1131) + * An error was detected in line 166 which is making use of an outdated API. + ``` java + 166 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[166,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1131) + * An error was detected in line 166 which is making use of an outdated API. + ``` java + 166 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[189,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1137) + * An error was detected in line 189 which is making use of an outdated API. + ``` java + 189 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[189,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1137) + * An error was detected in line 189 which is making use of an outdated API. + ``` java + 189 client.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[213,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1143) + * An error was detected in line 213 which is making use of an outdated API. + ``` java + 213 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[213,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1143) + * An error was detected in line 213 which is making use of an outdated API. + ``` java + 213 client.sendCommand(RedisGraphCommand.RO_QUERY, graphId, preparedQuery, com.redislabs.redisgraph.impl.Utils.COMPACT_STRING, com.redislabs.redisgraph.impl.Utils.TIMEOUT_STRING, java.lang.Long.toString(timeout)); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[265,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1149) + * An error was detected in line 265 which is making use of an outdated API. + ``` java + 265 client.sendCommand(RedisGraphCommand.DELETE, graphId); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[265,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1149) + * An error was detected in line 265 which is making use of an outdated API. + ``` java + 265 client.sendCommand(RedisGraphCommand.DELETE, graphId); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void sendCommand(ProtocolCommand,Rawable); + ``` +
+ *
+ Method getResponse(com.redislabs.redisgraph.impl.api.RedisGraphPipeline$1) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[40,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1169) + * An error was detected in line 40 which is making use of an outdated API. + ``` java + 40 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[40,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1169) + * An error was detected in line 40 which is making use of an outdated API. + ``` java + 40 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[58,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1175) + * An error was detected in line 58 which is making use of an outdated API. + ``` java + 58 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[58,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1175) + * An error was detected in line 58 which is making use of an outdated API. + ``` java + 58 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[80,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1181) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[80,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1181) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[102,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1187) + * An error was detected in line 102 which is making use of an outdated API. + ``` java + 102 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[102,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1187) + * An error was detected in line 102 which is making use of an outdated API. + ``` java + 102 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[122,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1193) + * An error was detected in line 122 which is making use of an outdated API. + ``` java + 122 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[122,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1193) + * An error was detected in line 122 which is making use of an outdated API. + ``` java + 122 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[142,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1199) + * An error was detected in line 142 which is making use of an outdated API. + ``` java + 142 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[142,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1199) + * An error was detected in line 142 which is making use of an outdated API. + ``` java + 142 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[167,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1205) + * An error was detected in line 167 which is making use of an outdated API. + ``` java + 167 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[167,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1205) + * An error was detected in line 167 which is making use of an outdated API. + ``` java + 167 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[193,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1211) + * An error was detected in line 193 which is making use of an outdated API. + ``` java + 193 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[193,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1211) + * An error was detected in line 193 which is making use of an outdated API. + ``` java + 193 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[247,38] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1217) + * An error was detected in line 247 which is making use of an outdated API. + ``` java + 247 getResponse(redis.clients.jedis.BuilderFactory.STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphPipeline.java:[247,38] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1217) + * An error was detected in line 247 which is making use of an outdated API. + ``` java + 247 getResponse(redis.clients.jedis.BuilderFactory.STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[42,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1098) + * An error was detected in line 42 which is making use of an outdated API. + ``` java + 42 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[42,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1098) + * An error was detected in line 42 which is making use of an outdated API. + ``` java + 42 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[60,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1104) + * An error was detected in line 60 which is making use of an outdated API. + ``` java + 60 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[60,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1104) + * An error was detected in line 60 which is making use of an outdated API. + ``` java + 60 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[82,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1110) + * An error was detected in line 82 which is making use of an outdated API. + ``` java + 82 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[82,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1110) + * An error was detected in line 82 which is making use of an outdated API. + ``` java + 82 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[104,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1116) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[104,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1116) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[127,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1122) + * An error was detected in line 127 which is making use of an outdated API. + ``` java + 127 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[127,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1122) + * An error was detected in line 127 which is making use of an outdated API. + ``` java + 127 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[147,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1128) + * An error was detected in line 147 which is making use of an outdated API. + ``` java + 147 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[147,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1128) + * An error was detected in line 147 which is making use of an outdated API. + ``` java + 147 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[167,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1134) + * An error was detected in line 167 which is making use of an outdated API. + ``` java + 167 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[167,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1134) + * An error was detected in line 167 which is making use of an outdated API. + ``` java + 167 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[191,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1140) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[191,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1140) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[215,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1146) + * An error was detected in line 215 which is making use of an outdated API. + ``` java + 215 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[215,16] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1146) + * An error was detected in line 215 which is making use of an outdated API. + ``` java + 215 getResponse(new redis.clients.jedis.Builder() { + @java.lang.SuppressWarnings("unchecked") + @java.lang.Override + public com.redislabs.redisgraph.ResultSet build(java.lang.Object o) { + return new com.redislabs.redisgraph.impl.resultset.ResultSetImpl(((java.util.List) (o)), redisGraph, caches.getGraphCache(graphId)); + } +}); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[266,37] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1152) + * An error was detected in line 266 which is making use of an outdated API. + ``` java + 266 getResponse(redis.clients.jedis.BuilderFactory.STRING); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/RedisGraphTransaction.java:[266,37] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1152) + * An error was detected in line 266 which is making use of an outdated API. + ``` java + 266 getResponse(redis.clients.jedis.BuilderFactory.STRING); + ``` + +
+ +
+ *
+ Method getClient() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/ContextedRedisGraph.java:[142,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1155) + * An error was detected in line 142 which is making use of an outdated API. + ``` java + 142 jedis.getClient(); + ``` + * >[[ERROR] /JRedisGraph/src/main/java/com/redislabs/redisgraph/impl/api/ContextedRedisGraph.java:[157,9] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1158) + * An error was detected in line 157 which is making use of an outdated API. + ``` java + 157 jedis.getClient(); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Connection getClient(); + ``` +
+ + diff --git a/Explanations/ea33b5101edffc0242967cbf21c1016378b18483.md b/Explanations/ea33b5101edffc0242967cbf21c1016378b18483.md new file mode 100644 index 0000000..6f54af4 --- /dev/null +++ b/Explanations/ea33b5101edffc0242967cbf21c1016378b18483.md @@ -0,0 +1,121 @@ +CI detected that the dependency upgrade from version **flyway-core-3.2.1** to **flyway-core-9.15.2** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **6** instructions which has been modified in the new version of the dependency. + *
+ Method valueOf(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2146) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 java.lang.Boolean.valueOf(prop.getProperty("flyway.validate")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + Event valueOf(String); + ``` +
+ *
+ Method setLocations(java.lang.String) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[111,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2143) + * An error was detected in line 111 which is making use of an outdated API. + ``` java + 111 flyway.setLocations(prop.getProperty("flyway.locations")); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setLocations(Location[]); + ``` +
+ *
+ Method setDataSource(javax.sql.DataSource) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[109,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2137) + * An error was detected in line 109 which is making use of an outdated API. + ``` java + 109 flyway.setDataSource(this.dataSource()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setDataSource(String,String,String); + ``` +
+ *
+ Method getClassLoader() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2140) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + ClassLoader getClassLoader(); + ``` + ``` java + ClassLoader getClassLoader(); + ``` +
+ *
+ Method setClassLoader(java.lang.ClassLoader) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[110,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2140) + * An error was detected in line 110 which is making use of an outdated API. + ``` java + 110 flyway.setClassLoader(org.nem.specific.deploy.appconfig.NisAppConfig.class.getClassLoader()); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setClassLoader(ClassLoader); + ``` +
+ *
+ Method setValidateOnMigrate(java.lang.Boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /nem/nis/src/main/java/org/nem/specific/deploy/appconfig/NisAppConfig.java:[112,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2146) + * An error was detected in line 112 which is making use of an outdated API. + ``` java + 112 flyway.setValidateOnMigrate(java.lang.Boolean.valueOf(prop.getProperty("flyway.validate"))); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setValidateOnMigrate(Boolean); + ``` +
+ + diff --git a/Explanations/ef3f7be3e2755d4a0f9c23bdcbfe3b97198fb31b.md b/Explanations/ef3f7be3e2755d4a0f9c23bdcbfe3b97198fb31b.md new file mode 100644 index 0000000..cd93d90 --- /dev/null +++ b/Explanations/ef3f7be3e2755d4a0f9c23bdcbfe3b97198fb31b.md @@ -0,0 +1,109 @@ +CI detected that the dependency upgrade from version **tinspin-indexes-1.7.1** to **tinspin-indexes-2.0.0** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method size() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2131) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.size(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int size(); + ``` + ``` java + int size(); + ``` +
+ *
+ Method dist() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2131) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords).dist(); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2131) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords).dist(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + double dist(double[],double[],double[]); + ``` + ``` java + double dist(double[],double[],double[]); + ``` +
+ *
+ Method create(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_Meshing.java:[161,23] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2140) + * An error was detected in line 161 which is making use of an outdated API. + ``` java + 161 org.tinspin.index.kdtree.KDTree.create(2, (p1, p2) -> { + final double deltaX = p1[0] - p2[0]; + final double deltaY = p1[1] - p2[1]; + return java.lang.Math.sqrt((deltaX * deltaX) + (deltaY * deltaY)); +}); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + Index$PointEntry create(double[],Object); + ``` + ``` java + CoverTree create(int,double,PointDistance); + ``` +
+ *
+ Method query1NN(double[]) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_CirclePacking.java:[226,31] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2134) + * An error was detected in line 226 which is making use of an outdated API. + ``` java + 226 tree.query1NN(new double[]{ p.x, p.y, largestR }); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_CirclePacking.java:[226,31] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2134) + * An error was detected in line 226 which is making use of an outdated API. + ``` java + 226 tree.query1NN(new double[]{ p.x, p.y, largestR }); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2131) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords); + ``` + * >[[ERROR] /PGS/src/main/java/micycle/pgs/PGS_PointSet.java:[70,53] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2131) + * An error was detected in line 70 which is making use of an outdated API. + ``` java + 70 tree.query1NN(coords); + ``` + +
+ +
+ + diff --git a/Explanations/f26cd85b97b24c07a2e446f43ac8793619fa0724.md b/Explanations/f26cd85b97b24c07a2e446f43ac8793619fa0724.md new file mode 100644 index 0000000..ec5cfee --- /dev/null +++ b/Explanations/f26cd85b97b24c07a2e446f43ac8793619fa0724.md @@ -0,0 +1,83 @@ +CI detected that the dependency upgrade from version **jetty-server-8.1.11.v20130520** to **jetty-server-11.0.9** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **4** instructions which has been modified in the new version of the dependency. + *
+ Method getLocalPort() which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:845) + * An error was detected in line 80 which is making use of an outdated API. + ``` java + 80 httpConnector.getLocalPort(); + ``` + +
+ + To address this incompatibility, there are 2 alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency: + ``` java + int getLocalPort(); + ``` + ``` java + int getLocalPort(); + ``` +
+ *
+ Method setSendDateHeader(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:836) + * An error was detected in line 34 which is making use of an outdated API. + ``` java + 34 this.server.setSendDateHeader(true); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendDateHeader(boolean); + ``` +
+ *
+ Method setSendServerVersion(boolean) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:833) + * An error was detected in line 33 which is making use of an outdated API. + ``` java + 33 this.server.setSendServerVersion(false); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setSendServerVersion(boolean); + ``` +
+ *
+ Method setPort(int) which has been removed in the new version of the dependency + + *
+ The failure is identified from the logs generated in the build process. + + * >[[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:842) + * An error was detected in line 37 which is making use of an outdated API. + ``` java + 37 this.httpConnector.setPort(port); + ``` + +
+ + To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency + ``` java + void setPort(int); + ``` +
+ + diff --git a/Explanations/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md b/Explanations/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md new file mode 100644 index 0000000..1d91d9c --- /dev/null +++ b/Explanations/fe15d2a6e52b049f6c9e7cc123a5402047a1f01a.md @@ -0,0 +1,509 @@ +CI detected that the dependency upgrade from version **jaxb2-basics-runtime-0.13.1** to **jaxb2-basics-runtime-1.11.1** has failed. Here are details to help you understand and fix the problem: +1. Your client utilizes **1** instruction which has been modified in the new version of the dependency. + * Method getInstance() which has been removed in the new version of the dependency + + * The failure is identified from the logs generated in the build process. + + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SupplierAddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1810) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[418,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1975) + * An error was detected in line 418 which is making use of an outdated API. + ``` java + 418 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[653,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1978) + * An error was detected in line 653 which is making use of an outdated API. + ``` java + 653 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1365,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1981) + * An error was detected in line 1365 which is making use of an outdated API. + ``` java + 1365 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1658,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1984) + * An error was detected in line 1658 which is making use of an outdated API. + ``` java + 1658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[1844,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1987) + * An error was detected in line 1844 which is making use of an outdated API. + ``` java + 1844 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[2285,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1990) + * An error was detected in line 2285 which is making use of an outdated API. + ``` java + 2285 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[2605,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1993) + * An error was detected in line 2605 which is making use of an outdated API. + ``` java + 2605 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3293,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1996) + * An error was detected in line 3293 which is making use of an outdated API. + ``` java + 3293 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3581,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1999) + * An error was detected in line 3581 which is making use of an outdated API. + ``` java + 3581 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[3833,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2002) + * An error was detected in line 3833 which is making use of an outdated API. + ``` java + 3833 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[4346,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2005) + * An error was detected in line 4346 which is making use of an outdated API. + ``` java + 4346 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[4665,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2008) + * An error was detected in line 4665 which is making use of an outdated API. + ``` java + 4665 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5154,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2011) + * An error was detected in line 5154 which is making use of an outdated API. + ``` java + 5154 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5379,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2014) + * An error was detected in line 5379 which is making use of an outdated API. + ``` java + 5379 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[5560,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2017) + * An error was detected in line 5560 which is making use of an outdated API. + ``` java + 5560 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/SourceDocuments.java:[6030,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2020) + * An error was detected in line 6030 which is making use of an outdated API. + ``` java + 6030 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SpecialRegimes.java:[108,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1936) + * An error was detected in line 108 which is making use of an outdated API. + ``` java + 108 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/Supplier.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1807) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/OrderReferences.java:[107,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2026) + * An error was detected in line 107 which is making use of an outdated API. + ``` java + 107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/References.java:[104,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2050) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Payment.java:[136,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2047) + * An error was detected in line 136 which is making use of an outdated API. + ``` java + 136 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Header.java:[658,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1813) + * An error was detected in line 658 which is making use of an outdated API. + ``` java + 658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/ShippingPointStructure.java:[185,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2032) + * An error was detected in line 185 which is making use of an outdated API. + ``` java + 185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/ShippingPointStructure.java:[185,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1927) + * An error was detected in line 185 which is making use of an outdated API. + ``` java + 185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/TaxTable.java:[85,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1957) + * An error was detected in line 85 which is making use of an outdated API. + ``` java + 85 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/MovementTax.java:[163,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1930) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/PaymentMethod.java:[136,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1909) + * An error was detected in line 136 which is making use of an outdated API. + ``` java + 136 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1819) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AuditFile.java:[405,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1822) + * An error was detected in line 405 which is making use of an outdated API. + ``` java + 405 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[552,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1840) + * An error was detected in line 552 which is making use of an outdated API. + ``` java + 552 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[792,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1843) + * An error was detected in line 792 which is making use of an outdated API. + ``` java + 792 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1504,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1846) + * An error was detected in line 1504 which is making use of an outdated API. + ``` java + 1504 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1798,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1849) + * An error was detected in line 1798 which is making use of an outdated API. + ``` java + 1798 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[1984,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1852) + * An error was detected in line 1984 which is making use of an outdated API. + ``` java + 1984 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[2425,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1855) + * An error was detected in line 2425 which is making use of an outdated API. + ``` java + 2425 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[2753,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1858) + * An error was detected in line 2753 which is making use of an outdated API. + ``` java + 2753 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3326,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1861) + * An error was detected in line 3326 which is making use of an outdated API. + ``` java + 3326 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3590,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1864) + * An error was detected in line 3590 which is making use of an outdated API. + ``` java + 3590 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3814,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1867) + * An error was detected in line 3814 which is making use of an outdated API. + ``` java + 3814 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[3914,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1870) + * An error was detected in line 3914 which is making use of an outdated API. + ``` java + 3914 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4186,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1873) + * An error was detected in line 4186 which is making use of an outdated API. + ``` java + 4186 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4353,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1876) + * An error was detected in line 4353 which is making use of an outdated API. + ``` java + 4353 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[4625,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1879) + * An error was detected in line 4625 which is making use of an outdated API. + ``` java + 4625 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5321,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1882) + * An error was detected in line 5321 which is making use of an outdated API. + ``` java + 5321 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5610,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1885) + * An error was detected in line 5610 which is making use of an outdated API. + ``` java + 5610 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[5862,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1888) + * An error was detected in line 5862 which is making use of an outdated API. + ``` java + 5862 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[6375,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1891) + * An error was detected in line 6375 which is making use of an outdated API. + ``` java + 6375 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[6695,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1894) + * An error was detected in line 6695 which is making use of an outdated API. + ``` java + 6695 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7185,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1897) + * An error was detected in line 7185 which is making use of an outdated API. + ``` java + 7185 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7439,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1900) + * An error was detected in line 7439 which is making use of an outdated API. + ``` java + 7439 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[7625,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1903) + * An error was detected in line 7625 which is making use of an outdated API. + ``` java + 7625 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SourceDocuments.java:[8095,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1906) + * An error was detected in line 8095 which is making use of an outdated API. + ``` java + 8095 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Supplier.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1951) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Settlement.java:[164,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1939) + * An error was detected in line 164 which is making use of an outdated API. + ``` java + 164 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1933) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedger.java:[275,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1945) + * An error was detected in line 275 which is making use of an outdated API. + ``` java + 275 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/Product.java:[218,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1969) + * An error was detected in line 218 which is making use of an outdated API. + ``` java + 218 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2059) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/AuditFile.java:[400,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2062) + * An error was detected in line 400 which is making use of an outdated API. + ``` java + 400 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Currency.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1915) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/MovementTax.java:[163,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2035) + * An error was detected in line 163 which is making use of an outdated API. + ``` java + 163 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AddressStructurePT.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1816) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[570,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2065) + * An error was detected in line 570 which is making use of an outdated API. + ``` java + 570 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[814,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2068) + * An error was detected in line 814 which is making use of an outdated API. + ``` java + 814 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[1557,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2071) + * An error was detected in line 1557 which is making use of an outdated API. + ``` java + 1557 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[1856,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2074) + * An error was detected in line 1856 which is making use of an outdated API. + ``` java + 1856 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2042,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2077) + * An error was detected in line 2042 which is making use of an outdated API. + ``` java + 2042 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2567,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2080) + * An error was detected in line 2567 which is making use of an outdated API. + ``` java + 2567 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[2912,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2083) + * An error was detected in line 2912 which is making use of an outdated API. + ``` java + 2912 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[3514,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2086) + * An error was detected in line 3514 which is making use of an outdated API. + ``` java + 3514 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[3783,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2089) + * An error was detected in line 3783 which is making use of an outdated API. + ``` java + 3783 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4007,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2092) + * An error was detected in line 4007 which is making use of an outdated API. + ``` java + 4007 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4107,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2095) + * An error was detected in line 4107 which is making use of an outdated API. + ``` java + 4107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4407,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2098) + * An error was detected in line 4407 which is making use of an outdated API. + ``` java + 4407 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4579,80] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2101) + * An error was detected in line 4579 which is making use of an outdated API. + ``` java + 4579 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/SourceDocuments.java:[4856,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2104) + * An error was detected in line 4856 which is making use of an outdated API. + ``` java + 4856 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Settlement.java:[164,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2044) + * An error was detected in line 164 which is making use of an outdated API. + ``` java + 164 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[226,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1828) + * An error was detected in line 226 which is making use of an outdated API. + ``` java + 226 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[422,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1831) + * An error was detected in line 422 which is making use of an outdated API. + ``` java + 422 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[812,72] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1834) + * An error was detected in line 812 which is making use of an outdated API. + ``` java + 812 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/GeneralLedgerEntries.java:[1113,76] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1837) + * An error was detected in line 1113 which is making use of an outdated API. + ``` java + 1113 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/TaxTableEntry.java:[252,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1960) + * An error was detected in line 252 which is making use of an outdated API. + ``` java + 252 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/PaymentTax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1918) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Tax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1924) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Tax.java:[191,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2029) + * An error was detected in line 191 which is making use of an outdated API. + ``` java + 191 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/Currency.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2023) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2038) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Customer.java:[385,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1948) + * An error was detected in line 385 which is making use of an outdated API. + ``` java + 385 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/WithholdingTax.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1912) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/WithholdingTax.java:[133,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2041) + * An error was detected in line 133 which is making use of an outdated API. + ``` java + 133 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Header.java:[658,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1825) + * An error was detected in line 658 which is making use of an outdated API. + ``` java + 658 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AuditFile.java:[178,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2053) + * An error was detected in line 178 which is making use of an outdated API. + ``` java + 178 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_02_01/schema/AuditFile.java:[405,68] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:2056) + * An error was detected in line 405 which is making use of an outdated API. + ``` java + 405 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/AddressStructurePT.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1966) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/References.java:[104,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1942) + * An error was detected in line 104 which is making use of an outdated API. + ``` java + 104 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/Product.java:[190,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1954) + * An error was detected in line 190 which is making use of an outdated API. + ``` java + 190 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/OrderReferences.java:[107,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1921) + * An error was detected in line 107 which is making use of an outdated API. + ``` java + 107 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_03_01/schema/SupplierAddressStructure.java:[244,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1963) + * An error was detected in line 244 which is making use of an outdated API. + ``` java + 244 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + * >[[ERROR] /billy/billy-portugal/src-generated/main/java/com/premiumminds/billy/portugal/services/export/saftpt/v1_04_01/schema/CustomsDetails.java:[116,64] cannot find symbol](https://github.com/chains-project/breaking-good/actions/runs/8110103454/job/22166641300#step:4:1972) + * An error was detected in line 116 which is making use of an outdated API. + ``` java + 116 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy.getInstance(); + ``` + + + diff --git a/Resources/template.md b/Resources/template.md index 5a2cba1..5a9c6a2 100644 --- a/Resources/template.md +++ b/Resources/template.md @@ -1,6 +1,6 @@ CI detected that the dependency upgrade from version <**label indicating the previous version of the dependency**> to <**label indicating the new version of the dependency**> has failed. Here are details to help you understand and fix the problem: 1. Your client utilizes <**label indicate amount of instructions**> instructions which has been modified in the new version of the dependency. - * < Method | Class | Field | Import | Constructor> which has been < Removed | Modified > in the new version of the dependency + * < Method | Class | Field | Import | Constructor> < instruction name > which has been < Removed | Modified > in the new version of the dependency * The failure is identified from the logs generated in the build process. From f535cbe88fc4d8202e34fd02e2c8c748b397df22 Mon Sep 17 00:00:00 2001 From: Frank Reyes Date: Mon, 1 Apr 2024 19:34:39 +0200 Subject: [PATCH 11/11] Adding Download.java :) --- .../se/kth/breaking_changes/Download.java | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 src/main/java/se/kth/breaking_changes/Download.java diff --git a/src/main/java/se/kth/breaking_changes/Download.java b/src/main/java/se/kth/breaking_changes/Download.java new file mode 100644 index 0000000..5de166d --- /dev/null +++ b/src/main/java/se/kth/breaking_changes/Download.java @@ -0,0 +1,92 @@ +package se.kth.breaking_changes; + +import org.jsoup.Jsoup; + +import java.io.File; +import java.io.IOException; +import java.net.URI; +import java.net.http.HttpClient; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.nio.file.Path; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.stream.Collectors; + +public class Download { + + private static final Map repositoryUrls = Map.of( + "mavenCentral", "https://repo1.maven.org/maven2/", + "jenkins", "https://repo.jenkins-ci.org/artifactory/releases/", + "jboss", "https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/" + ); + + private Download() { + } + + private static String getIndexPageOfRepository(String artifactUrl) throws IOException, InterruptedException { + HttpClient client = HttpClient.newHttpClient(); + HttpRequest request = + HttpRequest.newBuilder().uri(URI.create(artifactUrl)).build(); + HttpResponse result = client.send(request, HttpResponse.BodyHandlers.ofString()); + + if (result.statusCode() != 200) { + return null; + } + return result.body(); + } + + private static String getArtifactUrl(String groupId, String artifactId, String version, String repositoryUrl) { + groupId = groupId.replace('.', '/'); + return repositoryUrl + groupId + "/" + artifactId + "/" + version + "/"; + } + + private static String getUrlOfRequestedJar(String indexPageContent, String indexPageUrl) { + List candidates = Jsoup.parse(indexPageContent).select("a").stream() + .map(e -> e.attr("href")) + .collect(Collectors.toList()); + + Optional artifactJar = candidates.stream() + .filter(c -> c.endsWith(".jar")) + .filter(c -> !c.contains("sources")) + .filter(c -> !c.contains("javadoc")) + .filter(c -> !c.contains("tests")) + .filter(c -> !c.contains("test")) + .filter(c -> !c.contains("config")) + .findFirst(); + + if (artifactJar.isPresent()) { + String artifactJarName = artifactJar.get(); + // java.net.URI has the worst APIs ever + if (artifactJarName.startsWith("https://") || artifactJarName.startsWith("http://")) { + return artifactJarName; + } + return indexPageUrl + artifactJarName; + } else { + System.err.println("Could not find jar for " + indexPageUrl); + return null; + } + } + + public static File getJarFile(String groupId, String artifactId, String version, Path directory) + throws IOException, InterruptedException { + for (String repositoryUrl : repositoryUrls.values()) { + String url = getArtifactUrl(groupId, artifactId, version, repositoryUrl); + String indexPageContent = getIndexPageOfRepository(url); + if (indexPageContent != null) { + String jarUrl = getUrlOfRequestedJar(indexPageContent, url); + if (jarUrl != null) { + HttpClient client = HttpClient.newHttpClient(); + HttpRequest request = + HttpRequest.newBuilder().uri(URI.create(jarUrl)).build(); + + final var resolve = directory.resolve(String.format("%s-%s", artifactId, version) + ".jar"); + HttpResponse result = client.send(request, HttpResponse.BodyHandlers.ofFile(resolve)); + return result.body().toFile(); + } + } + } + return null; + } +}