mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
cosmetics: dead code
This commit is contained in:
parent
e59e5c3e2b
commit
4d00b08201
1 changed files with 22 additions and 22 deletions
|
@ -206,9 +206,9 @@ public class CExternalSettingsManager implements ICExternalSettingsListener, ICP
|
||||||
return NullContainer.INSTANCE;
|
return NullContainer.INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getSupplierIds() {
|
// public String[] getSupplierIds() {
|
||||||
return null;
|
// return null;
|
||||||
}
|
// }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void removeListener(ICExternalSettingsListener listener) {
|
public void removeListener(ICExternalSettingsListener listener) {
|
||||||
|
@ -249,9 +249,9 @@ public class CExternalSettingsManager implements ICExternalSettingsListener, ICP
|
||||||
return NullFactory.INSTANCE;
|
return NullFactory.INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getId(){
|
// public String getId(){
|
||||||
return fId;
|
// return fId;
|
||||||
}
|
// }
|
||||||
|
|
||||||
public void shutdown(){
|
public void shutdown(){
|
||||||
if(fFactory != null){
|
if(fFactory != null){
|
||||||
|
@ -429,16 +429,16 @@ public class CExternalSettingsManager implements ICExternalSettingsListener, ICP
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ICConfigurationDescription getConfigurationById(String id, boolean write){
|
// public ICConfigurationDescription getConfigurationById(String id, boolean write){
|
||||||
ICConfigurationDescription cfg = fProjDes.getConfigurationById(id);
|
// ICConfigurationDescription cfg = fProjDes.getConfigurationById(id);
|
||||||
if(cfg == null)
|
// if(cfg == null)
|
||||||
return null;
|
// return null;
|
||||||
if(write && fProjDes.isReadOnly()){
|
// if(write && fProjDes.isReadOnly()){
|
||||||
makeWritable();
|
// makeWritable();
|
||||||
cfg = fProjDes.getConfigurationById(id);
|
// cfg = fProjDes.getConfigurationById(id);
|
||||||
}
|
// }
|
||||||
return cfg;
|
// return cfg;
|
||||||
}
|
// }
|
||||||
|
|
||||||
public int size() {
|
public int size() {
|
||||||
return fCfgList.size();
|
return fCfgList.size();
|
||||||
|
@ -446,13 +446,13 @@ public class CExternalSettingsManager implements ICExternalSettingsListener, ICP
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class DeltaInfo{
|
private static class DeltaInfo{
|
||||||
private boolean fCalculated;
|
// private boolean fCalculated;
|
||||||
private ExtSettingsDelta[] fDeltas;
|
// private ExtSettingsDelta[] fDeltas;
|
||||||
|
|
||||||
void setDelta(ExtSettingsDelta[] deltas){
|
// void setDelta(ExtSettingsDelta[] deltas){
|
||||||
fDeltas = deltas;
|
// fDeltas = deltas;
|
||||||
fCalculated = true;
|
//// fCalculated = true;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
private FactoryDescriptor getFactoryDescriptor(String id){
|
private FactoryDescriptor getFactoryDescriptor(String id){
|
||||||
|
|
Loading…
Add table
Reference in a new issue