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
This commit is contained in:
Gregory Chanan 2014-10-14 23:43:59 +00:00
parent 048d0e7bf4
commit 8ecb8f5c88
4 changed files with 6 additions and 4 deletions

View File

@ -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
----------------------

View File

@ -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)

View File

@ -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);

View File

@ -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);