Improve CommandLine.java

- Deleted the lines that are not needed now.
- Added @SuppressWarnings