1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

RESOLVED - bug 166964: MBSCustomPageData#getNatures() NPE

https://bugs.eclipse.org/bugs/show_bug.cgi?id=166964
This commit is contained in:
Chris Recoskie 2007-01-02 18:17:21 +00:00
parent 1ce81432d7
commit 2e67b3650f

View file

@ -157,6 +157,9 @@ public final class MBSCustomPageData
*/
public String[] getNatures()
{
if (natureSet == null || natureSet.size() == 0)
return null;
Object[] objArray = natureSet.toArray();
String[] strArray = new String[objArray.length];