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 25430
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +16 lines)
Line 26 Link Here
26
    
26
27
--
27
    private static final String WIN32_PROPERTY_VALUE = "win32";
28
    private static final String WIN32_LINE_END = "\r\n";
29
    private static final String UNIX_PROPERTY_VALUE = "unix";
30
    private static final String UNIX_LINE_END = "\n";
31
Line 35 Link Here
40
41
        String cvsPropertyValue = System.getProperty("cvsclient.line.separator.type");
42
        if (cvsPropertyValue != null) {
43
            if (cvsPropertyValue.equals(UNIX_PROPERTY_VALUE)) {
44
                newLine = UNIX_LINE_END.getBytes();
45
            } else if (cvsPropertyValue.equals(WIN32_PROPERTY_VALUE)) {
46
                newLine = WIN32_LINE_END.getBytes();
47
            }
48
        }
49

Return to bug 25430