Removed the option to inform the repository path since this option wasn't used
Modified the class to final, since it shouldn't have subclasses and added a few comments
The configuration object should be final
The exception DatabaseInitializationException is never thrown in initDatabase method, hence it was removed
The exception DatabaseInitializationException is never thrown in getAllNewerPackages method, hence it was removed
The exception MultipleInstalledPackages is never thrown in upgrade method, hence it was removed
Code cleanup: removed unused javadoc comments
Code cleanup: removed unused javadoc comments
Added comments for the parameters
Static analyzer was pointing out that the condition packageInfo == null was always false.
Added code to exit in case we are unable to create the user directory
Removed a redundant null assignment
Removed a redundant null assignment
Removed a redundant null assignment
Fixed a typo that could cause a bug. The option string was incorrect thus the username informed by the command-line would never be set in the repository