This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 66173
Collapse All | Expand All

(-)nbjunit/src/org/netbeans/junit/diff/LineDiff.java (-3 / +3 lines)
Lines 136-144 Link Here
136
            tmp.add(testLine);
136
            tmp.add(testLine);
137
        }
137
        }
138
        first.close();
138
        first.close();
139
        //match&=(firstFile.length() == secondFile.length()); - there can be different end lines
139
        match &= passLines.length == tmp.size();
140
        if (match) {
140
        if (match || diffFile == null) {
141
            return false;
141
            return !match;
142
        }
142
        }
143
        testLines=(String[])(tmp.toArray(new String[tmp.size()]));
143
        testLines=(String[])(tmp.toArray(new String[tmp.size()]));
144
        tmp.clear();
144
        tmp.clear();

Return to bug 66173