mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-26 10:25:32 +02:00
Generics - corrected to more specific type
This commit is contained in:
parent
91b7a9eecb
commit
1fff26625d
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ public class DescriptionScannerInfoProvider implements IScannerInfoProvider, ICP
|
||||||
private IProject fProject;
|
private IProject fProject;
|
||||||
private ICProjectDescription fProjDes;
|
private ICProjectDescription fProjDes;
|
||||||
private ICConfigurationDescription fCfgDes;
|
private ICConfigurationDescription fCfgDes;
|
||||||
private Map<Object, IScannerInfo> fIdToLanguageSettingsMap = Collections.synchronizedMap(new HashMap<Object, IScannerInfo>());
|
private Map<String, IScannerInfo> fIdToLanguageSettingsMap = Collections.synchronizedMap(new HashMap<String, IScannerInfo>());
|
||||||
private String fCurrentFileDescriptionId;
|
private String fCurrentFileDescriptionId;
|
||||||
private IScannerInfo fCurrentFileScannerInfo;
|
private IScannerInfo fCurrentFileScannerInfo;
|
||||||
private static final ScannerInfo INEXISTENT_SCANNER_INFO = new ScannerInfo();
|
private static final ScannerInfo INEXISTENT_SCANNER_INFO = new ScannerInfo();
|
||||||
|
@ -103,7 +103,7 @@ public class DescriptionScannerInfoProvider implements IScannerInfoProvider, ICP
|
||||||
}
|
}
|
||||||
|
|
||||||
private IScannerInfo getScannerInfo(ICResourceDescription rcDes, ICLanguageSetting ls){
|
private IScannerInfo getScannerInfo(ICResourceDescription rcDes, ICLanguageSetting ls){
|
||||||
Object mapKey = ls != null ? ls.getId() : null;
|
String mapKey = ls != null ? ls.getId() : null;
|
||||||
// if(ls == null)
|
// if(ls == null)
|
||||||
// return INEXISTENT_SCANNER_INFO;
|
// return INEXISTENT_SCANNER_INFO;
|
||||||
boolean useMap = rcDes == null || rcDes.getType() == ICSettingBase.SETTING_FOLDER;
|
boolean useMap = rcDes == null || rcDes.getType() == ICSettingBase.SETTING_FOLDER;
|
||||||
|
|
Loading…
Add table
Reference in a new issue