hanicz opened a new pull request, #1133:
URL: https://github.com/apache/knox/pull/1133

   
   [KNOX-3223](https://issues.apache.org/jira/browse/KNOX-3223) - Remove 
redundant SuppressWarnings
   
   ## What changes were proposed in this pull request?
   
   - Removed redundant SuppressWarnings
   - Replaced deprecated forbiddenapis failOnUnresolvableSignatures with 
ignoreSignaturesOfMissingClasses
   - Replaced forbidden Subject.getSubject(AccessController.getContext()) with 
SubjectUtils.getCurrentSubject() where possible. The AccessController call is 
still there is SubjectUtils however its on one place which makesa it easier to 
replace with JDK18+.
   - Fixed the order of a few asserts in KnoxPam and KnoxLdap tests
   
   ## How was this patch tested?
   
   Ran clean verify locally. There are no business logic changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to