You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/06/16 22:59:50 UTC
[commons-configuration] branch master updated: Remove unused private method
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new babfa289 Remove unused private method
babfa289 is described below
commit babfa289aa2d6f0081f510e02ce29b98ae6bd727
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 16 18:59:45 2022 -0400
Remove unused private method
---
.../java/org/apache/commons/configuration2/io/FileLocator.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/main/java/org/apache/commons/configuration2/io/FileLocator.java b/src/main/java/org/apache/commons/configuration2/io/FileLocator.java
index 4df26e33..9f74c2b1 100644
--- a/src/main/java/org/apache/commons/configuration2/io/FileLocator.java
+++ b/src/main/java/org/apache/commons/configuration2/io/FileLocator.java
@@ -323,16 +323,6 @@ public final class FileLocator {
return Objects.hash(basePath, encoding, fileName, fileSystem, locationStrategy, sourceURL, urlConnectionOptions);
}
- /**
- * Returns the source URL as a string. Result is never null. Comparisons are done on this string to avoid blocking
- * network calls.
- *
- * @return the source URL as a string (not null)
- */
- private String sourceURLAsString() {
- return sourceURL != null ? sourceURL.toExternalForm() : StringUtils.EMPTY;
- }
-
@Override
public String toString() {
return "FileLocator [basePath=" + basePath + ", encoding=" + encoding + ", fileName=" + fileName + ", fileSystem=" + fileSystem + ", locationStrategy="