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:
parent
fcfd56c2af
commit
a89c6eff1e
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue