zhenyuT commented on code in PR #508:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/508#discussion_r1306700778


##########
hugegraph-client/src/test/java/org/apache/hugegraph/unit/RestResultTest.java:
##########
@@ -55,7 +56,7 @@
 
 public class RestResultTest extends BaseUnitTest {
 
-    private jakarta.ws.rs.core.Response mockResponse;
+    private okhttp3.Response mockResponse;

Review Comment:
   > 
   
   
这里之前用的jakartar包中的Response,现在实现改为okhttp,因此对应mock的对象也修改为okhttp包中的Response。这样做是存在什么问题?



##########
hugegraph-client/src/test/java/org/apache/hugegraph/unit/RestResultTest.java:
##########
@@ -55,7 +56,7 @@
 
 public class RestResultTest extends BaseUnitTest {
 
-    private jakarta.ws.rs.core.Response mockResponse;
+    private okhttp3.Response mockResponse;

Review Comment:
   > 
   
   
这里之前用的jakartar包中的Response,现在实现改为okhttp,因此对应mock的对象也修改为okhttp包中的Response。这样做是存在什么问题?



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