Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] [Bug 148003] [New Class Wizard] Browse for Folder can cause infinite loop

 
1-line patch applied for Bug #148003: 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=148003 

For NewClassWizardUtil.getSourceFolder() method,
check for "path.isEmpty()" replaced with "path.segmentCount()",
because path without segments (but with leading separator) is
not recognized as empty.

-----------------------------------
With best regards, Oleg Krasilnikov
Software designer, Eclipse team. 
Intel corp.
+7 8312 162 444 ext. 2587 
(Russia, Nizhny Novgorod)


Back to the top