aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/ant/apache-ant-1.9.6/src/etc/testcases/filters/input/stripjavacomments.test
blob: 37535bccc63aa86aefcc0ec1fa8e9549901db38a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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

}