From 3c4e33e3552b82a8c439a8277dec29f9facd0615 Mon Sep 17 00:00:00 2001 From: Kevin Ruland Date: Fri, 10 Aug 2012 19:11:02 +0000 Subject: [PATCH] Removed calls to String.isEmpty which is not available on Froyo. --- .../simulation/customexpression/RangeExpression.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java b/core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java index c479b3104..83b5e6c50 100644 --- a/core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java +++ b/core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java @@ -27,10 +27,10 @@ public class RangeExpression extends CustomExpression { public RangeExpression(OpenRocketDocument doc, String startTime, String endTime, String variableType) { super(doc); - if (startTime.isEmpty()){ + if ("".equals(startTime.trim())){ startTime = "0"; } - if (endTime.isEmpty()){ + if ("".equals(endTime.trim())){ endTime = "t"; }