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 2019/05/30 20:44:15 UTC

[commons-configuration] branch master updated: Camel-case name.

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 3155433  Camel-case name.
3155433 is described below

commit 3155433a3218a5251e903eb34cb90b4c61cfe35e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu May 30 16:44:12 2019 -0400

    Camel-case name.
---
 src/main/java/org/apache/commons/configuration2/io/FileUtils.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/configuration2/io/FileUtils.java b/src/main/java/org/apache/commons/configuration2/io/FileUtils.java
index bfee512..bd5b240 100644
--- a/src/main/java/org/apache/commons/configuration2/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/configuration2/io/FileUtils.java
@@ -54,9 +54,9 @@ class FileUtils {
         if (url == null || !"file".equalsIgnoreCase(url.getProtocol())) {
             return null;
         }
-        String filename = url.getFile().replace('/', File.separatorChar);
-        filename = decodeUrl(filename);
-        return new File(filename);
+        String fileName = url.getFile().replace('/', File.separatorChar);
+        fileName = decodeUrl(fileName);
+        return new File(fileName);
     }
 
     /**