mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fixes compile error (for those who still have jre-1.4 installed)
This commit is contained in:
parent
ae93a12c54
commit
4327e91e76
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ public class BuildProcessManager {
|
|||
if(map == null)
|
||||
return null;
|
||||
|
||||
List<String> list = new ArrayList<String>();
|
||||
List list = new ArrayList();
|
||||
|
||||
for(Iterator iter = map.entrySet().iterator(); iter.hasNext();){
|
||||
Map.Entry entry = (Map.Entry)iter.next();
|
||||
|
@ -166,7 +166,7 @@ public class BuildProcessManager {
|
|||
IBuildEnvironmentVariable var = evp.getVariable("NUMBER_OF_PROCESSORS", null, false, false); //$NON-NLS-1$
|
||||
if (var != null) {
|
||||
try {
|
||||
x = new Integer(var.getValue()).intValue(); //$NON-NLS-1$
|
||||
x = new Integer(var.getValue()).intValue();
|
||||
if (x > 0) { procNumber = x; }
|
||||
} catch (NumberFormatException e) {} // fallthrough and return default
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue