CommandProcessor.java review

Some small corrections are proposed.