-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HWKALERTS-257 increase use of 400 resturn codes for illegal/bad args
Simplify catch blocks by introducing a new utility to handle responses on exceptions. As part of the changes do some code cleanup in the handlers: - remove unnecessary log.isDebugEnabled clauses - prefer log.debugf over log.debug - remove unnecessary else-clauses after returns - reorder response code annotations to be ascending numerically HWKALERTS-256 fix some guards in handlers - use isEmpty() in a few more places - consolidate code with new CommonUtil.checkTags()
- Loading branch information
Showing
12 changed files
with
365 additions
and
646 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
Oops, something went wrong.