ashutoshcipher commented on PR #4436:
URL: https://github.com/apache/hadoop/pull/4436#issuecomment-1160394168

   > @ashutoshcipher Shall we assign it to some variable in try and use it from 
both try and catch clause.
   > 
   > ```
   >     String hostString = urlString.replace(HOST_TOKEN, ip);
   >     try {
   >       URL url = new URL(hostString);
   > ```
   
   Thanks for the suggestion @PrabhuJoseph , I have made the required 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to