From: kruland2607 Date: Fri, 10 Aug 2012 19:11:02 +0000 (+0000) Subject: Removed calls to String.isEmpty which is not available on Froyo. X-Git-Tag: upstream/12.09^2~58 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=1c6e0bdfed511cbaad0df93b34e2221a7585b23b;p=debian%2Fopenrocket Removed calls to String.isEmpty which is not available on Froyo. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@966 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java b/core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java index c479b310..83b5e6c5 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"; }