APISonar


org.netbeans.test.j2ee.lib.Reporter.log

> org > netbeans > test > j2ee > lib > Reporter > log
org APIs netbeans APIs test APIs j2ee APIs lib APIs Reporter APIs log APIs

Example 1
private Reporter reporter;

    private Set getDifference(Set<String> s1, Set<String> s2) {
        Set<String> result = new HashSet<String>(s2);
        result.removeAll(s1);
        for (String s : result) {
            if (s.indexOf(".LCK") < 0) {
                result.add(s);
            } else {
                reporter.log("Additional file: " + s);
            }
        }
        return result;
    }