diff options
Diffstat (limited to 'framework/src/ant/apache-ant-1.9.6/src/etc/testcases/filters/input/stripjavacomments.test')
-rw-r--r-- | framework/src/ant/apache-ant-1.9.6/src/etc/testcases/filters/input/stripjavacomments.test | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/filters/input/stripjavacomments.test b/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/filters/input/stripjavacomments.test new file mode 100644 index 00000000..37535bcc --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/filters/input/stripjavacomments.test @@ -0,0 +1,30 @@ +/* + * Copyright text + * has to be removed + */ + +/** + * JavaDoc text about the class. + * has to be removed + */ +public class NormalLine { + + private String withComment; // this comment should be removed + + /* this comment + * should be + * removed + */ + public void doNothing() { + // this comment should be removed + int i; + /* this comment + should be removed + */ + int j; + } + + private String url = "http://ant.apache.org/"; // very difficult! + private String url2 = "\"http://ant.apache.org/\""; // even worse + +} |