error parsing clauses with indexOf
----------------------------------

                 Key: QDOX-160
                 URL: http://jira.codehaus.org/browse/QDOX-160
             Project: QDox
          Issue Type: Bug
          Components: Parser
    Affects Versions: 1.9
         Environment: Java program in Linux.
            Reporter: Frantisek Kucera


when exist clause in body of method like this:

  String str =  "10$";
  int count = Integer.valueOf (str.substring (0, str.indexOf ('$'))).intValue();

after parsing to get different source code:

  int count = Integer.valueOf (str.substring (0, str.indexOf ('$"))).intValue();

with using JavaMethod.getSourceCode; changed ' -> "

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to