You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "essobedo (via GitHub)" <gi...@apache.org> on 2023/04/05 07:39:32 UTC
[GitHub] [camel] essobedo commented on a diff in pull request #9817: String.equalsTo("") replaced with String.isEmpty() in core and tooling
essobedo commented on code in PR #9817:
URL: https://github.com/apache/camel/pull/9817#discussion_r1158136886
##########
tooling/camel-tooling-maven/src/main/java/org/apache/camel/tooling/maven/MavenDownloaderImpl.java:
##########
@@ -731,10 +731,7 @@ Settings mavenConfiguration(
// 3) ${user.home}/.m2/repository (if exists)
// 4) /tmp/.m2/repository
String localRepository = System.getProperty("maven.repo.local");
- if (localRepository == null || "".equals(localRepository.trim())) {
- localRepository = settings.getLocalRepository();
Review Comment:
Why remove this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org