wouldn't be better to use arg1.length() or arg1.isEmpty() or arg1.isNull()?