mirror of https://github.com/apache/lucene.git
javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@705906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
180ff531e1
commit
f0adcb6bd6
|
@ -130,7 +130,7 @@ public class SolrResourceLoader implements ResourceLoader
|
|||
this( instanceDir, null, null );
|
||||
}
|
||||
|
||||
/** Ensures a directory name allways ends with a '/'. */
|
||||
/** Ensures a directory name always ends with a '/'. */
|
||||
public static String normalizeDir(String path) {
|
||||
return ( path != null && (!(path.endsWith("/") || path.endsWith("\\"))) )? path + '/' : path;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue