Removed calls to String.isEmpty which is not available on Froyo.

This commit is contained in:
Kevin Ruland 2012-08-10 19:11:02 +00:00
parent 301067e301
commit 3c4e33e355

View File

@ -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";
} }