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 2023/03/25 21:35:23 UTC

[commons-configuration] 06/12: Ctor order

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

commit 8cdd14089daac814372d242e7d71de9258049c51
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Mar 25 17:01:53 2023 -0400

    Ctor order
---
 .../apache/commons/configuration2/io/FileLocatorUtils.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/commons/configuration2/io/FileLocatorUtils.java b/src/main/java/org/apache/commons/configuration2/io/FileLocatorUtils.java
index 68d25c64..4e01656f 100644
--- a/src/main/java/org/apache/commons/configuration2/io/FileLocatorUtils.java
+++ b/src/main/java/org/apache/commons/configuration2/io/FileLocatorUtils.java
@@ -98,6 +98,12 @@ public final class FileLocatorUtils {
     /** Property key for the source URL. */
     private static final String PROP_SOURCE_URL = "sourceURL";
 
+    /**
+     * Private constructor so that no instances can be created.
+     */
+    private FileLocatorUtils() {
+    }
+
     /**
      * Extends a path by another component. The given extension is added to the already existing path adding a separator if
      * necessary.
@@ -542,10 +548,4 @@ public final class FileLocatorUtils {
         return file.toURI().toURL();
     }
 
-    /**
-     * Private constructor so that no instances can be created.
-     */
-    private FileLocatorUtils() {
-    }
-
 }