erdengk commented on a change in pull request #2965:
URL: https://github.com/apache/incubator-shenyu/pull/2965#discussion_r818300310



##########
File path: 
shenyu-register-center/shenyu-register-client/shenyu-register-client-http/src/main/java/org/apache/shenyu/register/client/http/utils/OkHttpTools.java
##########
@@ -99,16 +99,19 @@ public String post(final String url, final String json, 
final Headers headers) t
      * Get string.
      *
      * @param url   the url
-     * @param query the query
+     * @param userName the userName
+     * @param passWord the passWord
      * @return the http result
      * @throws IOException the io exception
      */
-    public String get(final String url, final Map<String, Object> query) 
throws IOException {
+    public String get(final String url, final String userName, final String 
passWord) throws IOException {

Review comment:
       Hi, @yu199195 
   I modified this because only one method uses the get function. And this 
method is only used here and will not affect other methods. So I refactored the 
code like this.
   




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