platform/bb/RubyVM/src/j2me/util/StringParser.java in rhodes-2.2.4.beta.1 vs platform/bb/RubyVM/src/j2me/util/StringParser.java in rhodes-2.2.5.beta.1

- old
+ new

@@ -11,9 +11,11 @@ boolean m_bFinish = false; public StringParser(String strToSplit, String strDelim) { m_strToSplit = strToSplit; m_strDelim = strDelim; + + m_bFinish = !(m_strToSplit != null && m_strToSplit.length() > 0); } public boolean hasMoreElements() { return !m_bFinish;