mirror of https://github.com/apache/lucene.git
Initialized typo -- thanks otis
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1b4417fb90
commit
44c3d4b48f
|
@ -240,7 +240,7 @@ public class Config {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getInstanceDir() {
|
public static String getInstanceDir() {
|
||||||
if ( ! isInstanceDirInitalized() ) {
|
if ( ! isInstanceDirInitialized() ) {
|
||||||
String home = null;
|
String home = null;
|
||||||
// Try JNDI
|
// Try JNDI
|
||||||
try {
|
try {
|
||||||
|
@ -276,7 +276,7 @@ public class Config {
|
||||||
return instanceDir;
|
return instanceDir;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isInstanceDirInitalized()
|
public static boolean isInstanceDirInitialized()
|
||||||
{
|
{
|
||||||
return instanceDir != null;
|
return instanceDir != null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue