You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/04/17 12:52:39 UTC
[camel] branch main updated (f0194d9cd1b -> a0ac77a8677)
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
from f0194d9cd1b (chores) camel-salesforce: fixed usage of log markers
new 30980664eb6 (chores) camel-xml-io: removed unused variables/assignments
new 315abbf6c95 (chores) camel-kamelet-main: removed unused variables/assignments
new a0ac77a8677 (chores) camel-util: removed unused variables/assignments
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
core/camel-util/src/main/java/org/apache/camel/util/URISupport.java | 1 -
.../src/main/java/org/apache/camel/xml/LwModelToXMLDumper.java | 1 -
.../java/org/apache/camel/main/download/MavenDependencyDownloader.java | 1 -
3 files changed, 3 deletions(-)
[camel] 01/03: (chores) camel-xml-io: removed unused variables/assignments
Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 30980664eb60d2b1d3a6adb01af822dbcff9f145
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Apr 17 12:54:01 2023 +0200
(chores) camel-xml-io: removed unused variables/assignments
---
.../src/main/java/org/apache/camel/xml/LwModelToXMLDumper.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/core/camel-xml-io/src/main/java/org/apache/camel/xml/LwModelToXMLDumper.java b/core/camel-xml-io/src/main/java/org/apache/camel/xml/LwModelToXMLDumper.java
index 4809350fae1..7f02740836b 100644
--- a/core/camel-xml-io/src/main/java/org/apache/camel/xml/LwModelToXMLDumper.java
+++ b/core/camel-xml-io/src/main/java/org/apache/camel/xml/LwModelToXMLDumper.java
@@ -94,7 +94,6 @@ public class LwModelToXMLDumper implements ModelToXMLDumper {
doWriteAttribute("id", def.getId());
// write location information
if (context.isDebugging()) {
- String id = def.getId();
String loc = (def instanceof RouteDefinition ? ((RouteDefinition) def).getInput() : def).getLocation();
int line = (def instanceof RouteDefinition ? ((RouteDefinition) def).getInput() : def).getLineNumber();
if (line != -1) {
[camel] 02/03: (chores) camel-kamelet-main: removed unused variables/assignments
Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 315abbf6c951ea76c619a51e254349c161ec96bc
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Apr 17 12:54:13 2023 +0200
(chores) camel-kamelet-main: removed unused variables/assignments
---
.../java/org/apache/camel/main/download/MavenDependencyDownloader.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/MavenDependencyDownloader.java b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/MavenDependencyDownloader.java
index ac78c5b063d..db119d61da5 100644
--- a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/MavenDependencyDownloader.java
+++ b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/download/MavenDependencyDownloader.java
@@ -401,7 +401,6 @@ public class MavenDependencyDownloader extends ServiceSupport implements Depende
private Set<String> resolveExtraRepositories(String repositoryList) {
Set<String> repositories = new LinkedHashSet<>();
if (repositoryList != null) {
- Set<String> repositoryURLs = new HashSet<>();
for (String repo : repositoryList.split("\\s*,\\s*")) {
try {
URL url = new URL(repo);
[camel] 03/03: (chores) camel-util: removed unused variables/assignments
Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit a0ac77a86771e54f4d1ab22785737db792d215af
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Apr 17 12:54:21 2023 +0200
(chores) camel-util: removed unused variables/assignments
---
core/camel-util/src/main/java/org/apache/camel/util/URISupport.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java b/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java
index 9284d3b37ce..5c2ff276437 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/URISupport.java
@@ -797,7 +797,6 @@ public final class URISupport {
public static String buildMultiValueQuery(String key, Iterable<Object> values) {
StringBuilder sb = new StringBuilder();
for (Object v : values) {
- String s = v.toString();
if (sb.length() > 0) {
sb.append("&");
}