-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve generics in KiwiResources validation methods (#665)
* Change validateIntParameter and validateLongParameter so that the map values can be any type, e.g. Map<String, V>. The keys are still restricted to String since they are request parameter names, and anything else doesn't make sense. * Fix the names of the validateLongParameter tests and also rename the incorrectly named tests that expect exceptions Closes #603
- Loading branch information
1 parent
9b47279
commit 05e4b74
Showing
2 changed files
with
18 additions
and
13 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