From 8ecb8f5c88a2d3764a098f199c54a2d8da2b75ba Mon Sep 17 00:00:00 2001 From: Gregory Chanan Date: Tue, 14 Oct 2014 23:43:59 +0000 Subject: [PATCH] SOLR-6624: Spelling mistakes in the Java source git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631924 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 2 ++ solr/core/src/java/org/apache/solr/handler/SnapPuller.java | 4 ++-- .../solr/update/processor/RunUpdateProcessorFactory.java | 2 +- .../src/test/org/apache/solr/update/DocumentBuilderTest.java | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index d0b028238c5..9e07ea5e30f 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -228,6 +228,8 @@ Bug Fixes * SOLR-6540 Fix NPE from strdist() func when doc value source does not exist in a doc (hossman) +* SOLR-6624 Spelling mistakes in the Java source (Hrishikesh Gadre) + Optimizations ---------------------- diff --git a/solr/core/src/java/org/apache/solr/handler/SnapPuller.java b/solr/core/src/java/org/apache/solr/handler/SnapPuller.java index ddc1269f1ac..8feeac50a49 100644 --- a/solr/core/src/java/org/apache/solr/handler/SnapPuller.java +++ b/solr/core/src/java/org/apache/solr/handler/SnapPuller.java @@ -1228,7 +1228,7 @@ public class SnapPuller { //read the size of the packet int packetSize = readInt(intbytes); if (packetSize <= 0) { - LOG.warn("No content recieved for file: " + currentFile); + LOG.warn("No content received for file: " + currentFile); return NO_CONTENT; } if (buf.length < packetSize) @@ -1496,7 +1496,7 @@ public class SnapPuller { //read the size of the packet int packetSize = readInt(intbytes); if (packetSize <= 0) { - LOG.warn("No content recieved for file: " + currentFile); + LOG.warn("No content received for file: " + currentFile); return NO_CONTENT; } if (buf.length < packetSize) diff --git a/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java b/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java index 5852709d23f..c893f28d189 100644 --- a/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java +++ b/solr/core/src/java/org/apache/solr/update/processor/RunUpdateProcessorFactory.java @@ -63,7 +63,7 @@ class RunUpdateProcessor extends UpdateRequestProcessor if (DistributedUpdateProcessor.isAtomicUpdate(cmd)) { throw new SolrException (SolrException.ErrorCode.BAD_REQUEST, - "RunUpdateProcessor has recieved an AddUpdateCommand containing a document that appears to still contain Atomic document update operations, most likely because DistributedUpdateProcessorFactory was explicitly disabled from this updateRequestProcessorChain"); + "RunUpdateProcessor has received an AddUpdateCommand containing a document that appears to still contain Atomic document update operations, most likely because DistributedUpdateProcessorFactory was explicitly disabled from this updateRequestProcessorChain"); } updateHandler.addDoc(cmd); diff --git a/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java b/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java index f4479fceb02..483a33a7947 100644 --- a/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java +++ b/solr/core/src/test/org/apache/solr/update/DocumentBuilderTest.java @@ -306,7 +306,7 @@ public class DocumentBuilderTest extends SolrTestCaseJ4 { assertEquals(1.0F, outText[3].boost(), 0.0F); assertEquals(1.0F, outText[4].boost(), 0.0F); - // copyField dest with no norms should not have recieved any boost + // copyField dest with no norms should not have received any boost assertEquals(1.0F, outNoNorms[0].boost(), 0.0F); assertEquals(1.0F, outNoNorms[1].boost(), 0.0F);