Removed calls to String.isEmpty which is not available on Froyo.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 10 Aug 2012 19:11:02 +0000 (19:11 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 10 Aug 2012 19:11:02 +0000 (19:11 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@966 180e2498-e6e9-4542-8430-84ac67f01cd8

core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java

index c479b3104d9a67dbffdab39d0d1c33bccb6af6d8..83b5e6c506dce15c80891c087c3c005cdef1eff3 100644 (file)
@@ -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";
                }