lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Mulvihill (JIRA)" <>
Subject [jira] [Created] (LUCENENET-592) Lucene.Net.QueryParsers.Flexible.Core.Util.UnescapedCharSequence
Date Tue, 08 Aug 2017 15:06:00 GMT
Greg Mulvihill created LUCENENET-592:

             Summary: Lucene.Net.QueryParsers.Flexible.Core.Util.UnescapedCharSequence
                 Key: LUCENENET-592
             Project: Lucene.Net
          Issue Type: Bug
          Components: Lucene.Net.QueryParser
    Affects Versions: Lucene.Net 4.8.0
         Environment: .NET 4.5.1/4.6.2
            Reporter: Greg Mulvihill

I noticed a few things that seem to be bugs in UnescapedCharSequence.cs.

Line 77: I found no reference to the private constructor UnescapedCharSequence(UnescapedCharSequence
text), but needed to use it.

Line 81: The for loop throws an exception as the condition statement goes beyond the length
of text due to '<=', rather than '<'.

Line 128: The for loop immediately terminates as i will always fail the condition statement.

This message was sent by Atlassian JIRA

View raw message