eolivelli opened a new pull request #12732:
URL: https://github.com/apache/pulsar/pull/12732


   ### Motivation
   
   PulsarAdmin code is full of duplicated code in order to implement 
synchronous calls.
   There is a code pattern that we can move to a single method.
   
   ### Modifications
   
   Introduce a new internal utility method "synch" to adapt asynchronous calls 
to synchronous.
   Convert a few sample classes.
   
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ### Documentation
   
   Check the box below and label this PR (if you have committer privilege).
   
   Need to update docs? 
   
   - [x] `no-need-doc` 
     
   This is only an internal refactor
   
   


-- 
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