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 2020/09/15 13:43:42 UTC

[commons-configuration] branch master updated: Javadoc.

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 eaebda8  Javadoc.
eaebda8 is described below

commit eaebda829fe7a008348a15428fc9ad2ee78fb9d3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Sep 15 09:43:13 2020 -0400

    Javadoc.
---
 .../java/org/apache/commons/configuration2/io/FileLocatorUtils.java   | 4 ++++
 1 file changed, 4 insertions(+)

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 9ef8311..f6ce481 100644
--- a/src/main/java/org/apache/commons/configuration2/io/FileLocatorUtils.java
+++ b/src/main/java/org/apache/commons/configuration2/io/FileLocatorUtils.java
@@ -465,6 +465,10 @@ public final class FileLocatorUtils
      * file.toURI().toURL().
      *
      * @param file the file to be converted into an URL
+     * @return a URL
+     * @throws  MalformedURLException 
+     *          If the file protocol handler is not found (should not happen)
+     *          or if an error occurred while constructing the URL
      */
     static URL toURL(final File file) throws MalformedURLException
     {