Fix [SonarQube] Strings literals should be placed on the left side when
checking for equality
Add log4j logger
Fix [SonarQube] Array designators "[]" should be on the type, not the
variable
Fix [SonarQube] Throws declarations should not be redundant
(EnvironmentLockedException is a subclass of DatabaseException)
Fix [SonarQube] Throws declarations should not be redundant
(DatabaseException is a subclass of RunTimeException, which can always
be thrown)
Fix [SonarQube] Throws declarations should not be redundant (multiple
instances of EnvironmentLockedException, DatabaseException which are
RunTimeExceptions)