crashub/crash — pull request #82 by lightpriest (2014-02-03 11:24:45+00:00)
Title: Fix empty line syntax error

Pressing Enter without typing anything, or while typing just spaces, causes an "unexpected token". ScriptREPL is already prepared for this kind of behavior, so this patch makes Token.createFactory() return null when `value`, i.e. the requested command, is blank.

Added a Utils.notBlank() method to test for non-blank strings.