mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 16:29:30 +00:00
Fix three ex[c]eption typos.
This commit is contained in:
parent
701c73d45a
commit
808171ac00
@ -235,7 +235,7 @@ public abstract class Analyzer implements Closeable {
|
||||
}
|
||||
filteredText = builder.toString();
|
||||
} catch (IOException e) {
|
||||
throw new IllegalStateException("Normalization threw an unexpected exeption", e);
|
||||
throw new IllegalStateException("Normalization threw an unexpected exception", e);
|
||||
}
|
||||
|
||||
final AttributeFactory attributeFactory = attributeFactory(fieldName);
|
||||
@ -258,7 +258,7 @@ public abstract class Analyzer implements Closeable {
|
||||
return term;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new IllegalStateException("Normalization threw an unexpected exeption", e);
|
||||
throw new IllegalStateException("Normalization threw an unexpected exception", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1032,7 +1032,7 @@ public class CoreContainer {
|
||||
}
|
||||
}
|
||||
|
||||
// If no CorruptIndexExeption, nothing we can try here
|
||||
// If no CorruptIndexException, nothing we can try here
|
||||
if (cause == null) throw original;
|
||||
|
||||
CoreInitFailedAction action = CoreInitFailedAction.valueOf(System.getProperty(CoreInitFailedAction.class.getSimpleName(), "none"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user