[jbosstools-issues] [JBoss JIRA] (JBIDE-19983) Fix ContentScanner.nextToken() logic to avoid use exception for flow control

Denis Golovin (JIRA) issues at jboss.org
Mon Jun 8 21:03:02 EDT 2015


Denis Golovin created JBIDE-19983:
-------------------------------------

             Summary: Fix ContentScanner.nextToken() logic to avoid use exception for flow control
                 Key: JBIDE-19983
                 URL: https://issues.jboss.org/browse/JBIDE-19983
             Project: Tools (JBoss Tools)
          Issue Type: Enhancement
          Components: freemarker
    Affects Versions: 4.3.0.Beta1
            Reporter: Denis Golovin
            Priority: Minor


Currently ContentScanner.nextToken() tests chars without detecting EOF first. It tiggers BadLocationException and catch block then decide what to do next.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list