You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/02/17 07:17:16 UTC

[GitHub] maskit opened a new pull request #1245: Refactor SecurityUtility class

maskit opened a new pull request #1245: Refactor SecurityUtility class
URL: https://github.com/apache/incubator-pulsar/pull/1245
 
 
   ### Motivation
   
   - Duplicate code is evil
   - There is a resouse leak
   
   ### Modifications
   
   - Split context setup process into several steps so they can be reuse
   - Reuse the steps
   - Fix the resource leak
   
   ### Result
   
   - No duplicate code
   - No resource leak (hopefully)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services