lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r816121 - /lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/XPathRecordReader.java
Date Thu, 17 Sep 2009 10:04:18 GMT
Author: noble
Date: Thu Sep 17 10:04:18 2009
New Revision: 816121

URL: http://svn.apache.org/viewvc?rev=816121&view=rev
Log:
renamed a variable

Modified:
    lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/XPathRecordReader.java

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/XPathRecordReader.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/XPathRecordReader.java?rev=816121&r1=816120&r2=816121&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/XPathRecordReader.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/XPathRecordReader.java
Thu Sep 17 10:04:18 2009
@@ -189,12 +189,12 @@
         // But for CDATA | CHARACTERS | SPACE it should not do so because handling of
         // CDATA itself would have consumed the next event. CDATA may throw multiple events
         // so all the events are slurped till a  START_ELEMENT is encountered.
-        boolean skipNextEvent = false;
+        boolean isNextEventFetched = false;
         int event = -1;
         while (true) {
-          if (!skipNextEvent) {
+          if (!isNextEventFetched) {
             event = parser.next();
-            skipNextEvent = false;
+            isNextEventFetched = false;
           }
           if (event == END_DOCUMENT) {
             return;
@@ -214,7 +214,7 @@
           if ((event == CDATA || event == CHARACTERS || event == SPACE)
                   && hasText) {
             valuesAddedinThisFrame.add(fieldName);
-            skipNextEvent = true;
+            isNextEventFetched = true;
             String text = parser.getText();
             event = parser.next();
 



Mime
View raw message