1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-21 15:23:59 +02:00
This commit is contained in:
David Inglis 2003-11-21 14:21:49 +00:00
parent c8620e7151
commit 657b31a6d3

View file

@ -174,7 +174,7 @@ public class ProjectTargets {
public void remove(IMakeTarget target) {
ArrayList list = (ArrayList) targetMap.get(target.getContainer());
if (list != null && !list.contains(target)) {
if (list == null || !list.contains(target)) {
return;
}
list.remove(target);