mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-27 19:05:38 +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() {
|
public boolean hasDebug() {
|
||||||
if (isObject() || isExecutable() || isSharedLib()) {
|
if (isObject() || isExecutable() || isSharedLib()) {
|
||||||
if (hasDebug == null || hasChanged()) {
|
if (hasDebug == null || hasChanged()) {
|
||||||
hasDebug = Boolean.toString(((IBinaryObject)getBinaryFile()).hasDebug());
|
hasDebug = new Boolean(((IBinaryObject)getBinaryFile()).hasDebug()).toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Boolean.valueOf(hasDebug).booleanValue();
|
return Boolean.valueOf(hasDebug).booleanValue();
|
||||||
|
@ -129,7 +129,7 @@ public class Binary extends Openable implements IBinary {
|
||||||
public boolean isLittleEndian() {
|
public boolean isLittleEndian() {
|
||||||
if (isObject() || isExecutable() || isSharedLib() || isCore()) {
|
if (isObject() || isExecutable() || isSharedLib() || isCore()) {
|
||||||
if (endian == null || hasChanged()) {
|
if (endian == null || hasChanged()) {
|
||||||
endian = Boolean.toString(((IBinaryObject)getBinaryFile()).isLittleEndian());
|
endian = new Boolean(((IBinaryObject)getBinaryFile()).isLittleEndian()).toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Boolean.valueOf(endian).booleanValue();
|
return Boolean.valueOf(endian).booleanValue();
|
||||||
|
|
Loading…
Add table
Reference in a new issue