You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2017/06/28 06:51:44 UTC

[05/18] lucene-solr:feature/autoscaling: Fix three ex[c]eption typos.

Fix three ex[c]eption typos.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/808171ac
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/808171ac
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/808171ac

Branch: refs/heads/feature/autoscaling
Commit: 808171ac0001e952109c4a492b0a0121c60cea75
Parents: 701c73d
Author: Christine Poerschke <cp...@apache.org>
Authored: Tue Jun 27 14:46:39 2017 +0100
Committer: Christine Poerschke <cp...@apache.org>
Committed: Tue Jun 27 15:07:40 2017 +0100

----------------------------------------------------------------------
 lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java | 4 ++--
 solr/core/src/java/org/apache/solr/core/CoreContainer.java    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/808171ac/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java b/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java
index 3a5d41c..6bdc943 100644
--- a/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java
+++ b/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java
@@ -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);
     }
   }
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/808171ac/solr/core/src/java/org/apache/solr/core/CoreContainer.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
index 6055acf..90bbf5d 100644
--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java
+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
@@ -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"));