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:
parent
e626ad559a
commit
7d6c75119e
2 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue