1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

Remove compiler warnings.

This commit is contained in:
Alain Magloire 2004-09-02 19:17:42 +00:00
parent e809560687
commit 103f1fa7bb
2 changed files with 6 additions and 5 deletions

View file

@ -18,6 +18,7 @@ import java.util.HashMap;
import java.util.Map;
import org.eclipse.cdt.core.IBinaryParser.IBinaryExecutable;
import org.eclipse.cdt.core.IBinaryParser.IBinaryFile;
import org.eclipse.cdt.core.IBinaryParser.IBinaryObject;
import org.eclipse.cdt.core.IBinaryParser.IBinaryShared;
import org.eclipse.cdt.core.IBinaryParser.ISymbol;
@ -58,19 +59,19 @@ public class Binary extends Openable implements IBinary {
}
public boolean isSharedLib() {
return getType() == IBinaryObject.SHARED;
return getType() == IBinaryFile.SHARED;
}
public boolean isExecutable() {
return getType() == IBinaryObject.EXECUTABLE;
return getType() == IBinaryFile.EXECUTABLE;
}
public boolean isObject() {
return getType() == IBinaryObject.OBJECT;
return getType() == IBinaryFile.OBJECT;
}
public boolean isCore() {
return getType() == IBinaryObject.CORE;
return getType() == IBinaryFile.CORE;
}
public boolean hasDebug() {

View file

@ -104,7 +104,7 @@ public class TranslationUnit extends Openable implements ITranslationUnit {
if (name == null || name.length() == 0) {
return null;
}
String[] names = name.split("::");
String[] names = name.split("::"); //$NON-NLS-1$
ICElement current = this;
for (int j = 0; j < names.length; ++j) {
if (current instanceof IParent) {