You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ry...@apache.org on 2007/08/05 08:10:49 UTC

svn commit: r562837 - /lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java

Author: ryan
Date: Sat Aug  4 23:10:48 2007
New Revision: 562837

URL: http://svn.apache.org/viewvc?view=rev&rev=562837
Log:
spelling

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java?view=diff&rev=562837&r1=562836&r2=562837
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/TestHarness.java Sat Aug  4 23:10:48 2007
@@ -140,7 +140,7 @@
    * :TODO: currently only deals with one add/doc at a time, this will need changed if/when SOLR-2 is resolved
    * 
    * @param xml The XML of the update
-   * @return null if succesful, otherwise the XML response to the update
+   * @return null if successful, otherwise the XML response to the update
    */
   public String validateUpdate(String xml) throws SAXException {
     return checkUpdateStatus(xml, "0");
@@ -152,7 +152,7 @@
    * :TODO: currently only deals with one add/doc at a time, this will need changed if/when SOLR-2 is resolved
    * 
    * @param xml The XML of the update
-   * @return null if succesful, otherwise the XML response to the update
+   * @return null if successful, otherwise the XML response to the update
    */
   public String validateErrorUpdate(String xml) throws SAXException {
     return checkUpdateStatus(xml, "1");
@@ -164,7 +164,7 @@
    * :TODO: currently only deals with one add/doc at a time, this will need changed if/when SOLR-2 is resolved
    * 
    * @param xml The XML of the update
-   * @return null if succesful, otherwise the XML response to the update
+   * @return null if successful, otherwise the XML response to the update
    */
   public String checkUpdateStatus(String xml, String code) throws SAXException {
     try {
@@ -181,7 +181,7 @@
    * Validates that an add of a single document results in success.
    *
    * @param fieldsAndValues Odds are field names, Evens are values
-   * @return null if succesful, otherwise the XML response to the update
+   * @return null if successful, otherwise the XML response to the update
    * @see #appendSimpleDoc
    */
   public String validateAddDoc(String... fieldsAndValues)
@@ -383,7 +383,7 @@
     try {
       StringWriter r = new StringWriter();
 
-      // this is anoying
+      // this is annoying
       if (null == args || 0 == args.length) {
         XML.writeXML(r, tag, null);
       } else {