Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
5.0.0
-
None
-
None
Description
The TestAuthorizationService's maintainability is low due to
- the many magic boolean variables
- the init methods having 3+ parameters
One way this could be addressed is to introduce a simplified version of Builder pattern via a private nested class, to replace the functionality of the init methods.
This approach would allow for a much more readable, flexible and maintainable code.
Attachments
Issue Links
- is related to
-
OOZIE-3217 Enable definition of admin users using oozie-site.xml
- Closed