ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17441] - Problem with FilterChains
Date Thu, 27 Feb 2003 07:14:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17441>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17441

Problem with FilterChains





------- Additional Comments From jan@materne.de  2003-02-27 07:14 -------
I have found the problem: the \".
If I modify my testcase it will be shown:

Add to Testdata
    private String url = "  \"  http://ant.apache.org/  \"  "; // The \" is 
more difficult!

Add to expected result
    private String url = "  \"  http://ant.apache.org/  \"  "; 

(both directly unter the other ant.apache-line.)


BTW I saw, that I hadnīt changed the method name in the TestSuite while 
adapting. Should be named "testStipJavaComments" not "testLineContains". :-)

I modified the StripJavaComments class by inserting a isMasked-flag. Now it 
works for me. I attach the modified class.

------- Additional Comments From jan@materne.de  2003-02-27 07:14 -------
Created an attachment (id=5065)
Modified source of StripJavaComments.java

Mime
View raw message