"By either a String *or a Path*"

Signed-off-by: Marc Sunet <msunet@shellblade.net>
master
Jeanne-Kamikaze 2020-05-06 07:59:53 +00:00 committed by GitHub
parent 37d880a23c
commit 965d45e3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -51,10 +51,10 @@ import java.util.regex.PatternSyntaxException;
*
* <p>Configurations are specified by resources. A resource contains a set of
* name/value pairs as XML data. Each resource is named by either a
* <code>String</code>. If named by a <code>String</code>,
* then the classpath is examined for a file with that name. If named by a
* <code>Path</code>, then the local filesystem is examined directly, without
* referring to the classpath.
* <code>String</code> or a <code>Path</code>. If named by a
* <code>String</code>, then the classpath is examined for a file with that
* name. If named by a <code>Path</code>, then the local filesystem is
* examined directly, without referring to the classpath.
*
* <p>Unless explicitly turned off, Hadoop by default specifies two
* resources, loaded in-order from the classpath: <ol>