-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
312 WIP Improve refactoring and tests
- Fix some small bugs (which even existed in the Groovy implementation) - Make central Configuration class a (lombok) Bean with only getters and a builder. All configuration items are now ordinary (typed) fields. It only contains very few setter like logic any longer (we should get rid of those methods as well and treat a configuration immutable in the future. Nevertheless, we could drop some tests regarding configuration contents, overriding etc. - Fix some Groovy->Java translations, e.g., '==' for Strings -> 'equals' - Fix some internal types, in particular, - using interfaces vs. implementations, - using Sets or Lists instead of Collections to gain more specific behavior. - Fix warnings, e.g., remove unnecessary public modifier of test methods - Align implementation and test packages - Fix some typos/wording - Align some names with Java conventions (e.g., for constants) - Simplify by inlining some code fragments - Handle IP address validation by Apache commons-validator
- Loading branch information
Showing
46 changed files
with
667 additions
and
1,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.