Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix debug-logging-caused test failures

Jason Gerlowskie186d8c439cb
diff --git a/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java b/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java
index 3d82cbbb2fe..1fcdec72ad8 100644
--- a/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java
+++ b/solr/core/src/java/org/apache/solr/core/backup/repository/LocalFileSystemRepository.java
@@ -77,7 +77,7 @@ public class LocalFileSystemRepository implements BackupRepository {
try {
result = new URI(location);
if (!result.isAbsolute()) {
- result = Paths.get(result).toUri();
+ result = Paths.get(location).toUri();
}
} catch (URISyntaxException ex) {
result = Paths.get(location).toUri();