Removed unused variable
Removed unused variables
Removed unused variables
Rearranged stuff to make the config flow less confusing
Removed unused variable.
Switched to using IllegalStateException instead of RuntimeException
Should throw proper exceptions, not Exception
Should throw proper exceptions, not Exception
Use a proper logger.
Merge pull request #73 from iceglow/cleanup

Code analysis violation fixes