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.
}
try {
int t = Integer.parseInt (pn.substring (sessionName.length ()));
int t = Integer.parseInt (pn.substring (sessionName.length () + 3)); // 3 = " - ".length
m.add (Integer.valueOf(t));
} catch (Exception e) {
for (i = 0; i < k; i++)
if (!m.contains (Integer.valueOf(i)))
break;
if (i > 0) sessionName = sessionName + i;
if (i > 0) sessionName = sessionName + " - " + i;
return sessionName;
};