Skip to content

Commit

Permalink
Code cleanup in UsrGrpAdminServlet
Browse files Browse the repository at this point in the history
* Make logger final and log errors instead of stack traces
* Reorder modifiers to match the JLS
* Move array designators to the type
* Remove unnecessary Boolean literals and control flow jumps
* Remove commented out code
* Use pattern-matching instanceof
* Simplify logic by flattening/inverting negated ifs/unnecessary elses
* Remove declarations for exceptions that cannot be thrown
  • Loading branch information
ckelleyRH committed Jun 22, 2023
1 parent 8a8f320 commit 76d8332
Showing 1 changed file with 129 additions and 338 deletions.
Loading

0 comments on commit 76d8332

Please sign in to comment.