1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for the tool-chain modification functionality

This commit is contained in:
Mikhail Sennikovsky 2007-11-16 08:49:59 +00:00
parent e626ad559a
commit 7d6c75119e
2 changed files with 2 additions and 1 deletions

View file

@ -41,6 +41,7 @@ public class PerTypeMapStorage implements Cloneable {
clone.fStorage.set(types[i], clone.createMap((Map)o));
}
}
return clone;
} catch (CloneNotSupportedException e) {
e.printStackTrace();
}

View file

@ -55,7 +55,7 @@ public class PerTypeSetStorage implements Cloneable {
if(emptySetAsNull){
int types[] = ObjectTypeBasedStorage.getSupportedObjectTypes();
for(int i = 0; i < types.length; i++){
Object o = fStorage.get(i);
Object o = fStorage.get(types[i]);
if(o != null && !((Set)o).isEmpty())
return false;
}