1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 08:45:44 +02:00

Catch null pointer

This commit is contained in:
Alain Magloire 2003-05-25 02:30:39 +00:00
parent ed9a85d9b7
commit b49ff9c101

View file

@ -219,6 +219,9 @@ public class SourceManager extends SessionObject implements ICDISourceManager {
public Type getType(ICDITarget target, String name) throws CDIException {
if (name == null) {
name = new String();
}
String typename = name.trim();
// Check the derived types and agregate types