Removed calls to String.isEmpty which is not available on Froyo.
This commit is contained in:
parent
301067e301
commit
3c4e33e355
@ -27,10 +27,10 @@ public class RangeExpression extends CustomExpression {
|
|||||||
public RangeExpression(OpenRocketDocument doc, String startTime, String endTime, String variableType) {
|
public RangeExpression(OpenRocketDocument doc, String startTime, String endTime, String variableType) {
|
||||||
super(doc);
|
super(doc);
|
||||||
|
|
||||||
if (startTime.isEmpty()){
|
if ("".equals(startTime.trim())){
|
||||||
startTime = "0";
|
startTime = "0";
|
||||||
}
|
}
|
||||||
if (endTime.isEmpty()){
|
if ("".equals(endTime.trim())){
|
||||||
endTime = "t";
|
endTime = "t";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user