noblepaul commented on a change in pull request #665: Fixes SOLR-11841, 
SOLR-13331, SOLR-13347
URL: https://github.com/apache/lucene-solr/pull/665#discussion_r286757121
 
 

 ##########
 File path: solr/core/src/java/org/apache/solr/schema/BoolField.java
 ##########
 @@ -97,10 +98,9 @@ public boolean incrementToken() throws IOException {
           if (done) return false;
           done = true;
           int ch = input.read();
-          if (ch==-1) return false;
+          if (ch == -1) return false;
           termAtt.copyBuffer(
-                  ((ch=='t' || ch=='T' || ch=='1') ? TRUE_TOKEN : FALSE_TOKEN)
 
 Review comment:
   is there anything changed here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to