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

(-)core/src/org/netbeans/core/modules/NbEvents.java (-1 / +4 lines)
Lines 251-256 Link Here
251
        Iterator it = modules.iterator();
251
        Iterator it = modules.iterator();
252
        if (! it.hasNext()) throw new IllegalArgumentException();
252
        if (! it.hasNext()) throw new IllegalArgumentException();
253
        StringBuffer buf = new StringBuffer(modules.size() * 100 + 1);
253
        StringBuffer buf = new StringBuffer(modules.size() * 100 + 1);
254
        String lineSep = System.getProperty("line.separator");
254
        while (it.hasNext()) {
255
        while (it.hasNext()) {
255
            Module m = (Module)it.next();
256
            Module m = (Module)it.next();
256
            buf.append('\t'); // NOI18N
257
            buf.append('\t'); // NOI18N
Lines 265-271 Link Here
265
                buf.append(' '); // NOI18N
266
                buf.append(' '); // NOI18N
266
                buf.append(iv);
267
                buf.append(iv);
267
            }
268
            }
268
            buf.append("]\n"); // NOI18N
269
            buf.append(']'); // NOI18N
270
            // #32331: use platform-specific newlines
271
            buf.append(lineSep);
269
        }
272
        }
270
        System.err.print(buf.toString());
273
        System.err.print(buf.toString());
271
    }
274
    }

Return to bug 32331