1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

Use JDK 1.3 methods.

This commit is contained in:
Alain Magloire 2003-11-20 16:09:50 +00:00
parent fcfd56c2af
commit a89c6eff1e

View file

@ -66,7 +66,7 @@ public class Binary extends Openable implements IBinary {
public boolean hasDebug() {
if (isObject() || isExecutable() || isSharedLib()) {
if (hasDebug == null || hasChanged()) {
hasDebug = Boolean.toString(((IBinaryObject)getBinaryFile()).hasDebug());
hasDebug = new Boolean(((IBinaryObject)getBinaryFile()).hasDebug()).toString();
}
}
return Boolean.valueOf(hasDebug).booleanValue();
@ -129,7 +129,7 @@ public class Binary extends Openable implements IBinary {
public boolean isLittleEndian() {
if (isObject() || isExecutable() || isSharedLib() || isCore()) {
if (endian == null || hasChanged()) {
endian = Boolean.toString(((IBinaryObject)getBinaryFile()).isLittleEndian());
endian = new Boolean(((IBinaryObject)getBinaryFile()).isLittleEndian()).toString();
}
}
return Boolean.valueOf(endian).booleanValue();