javeme commented on code in PR #508:
URL:
https://github.com/apache/incubator-hugegraph-toolchain/pull/508#discussion_r1297174918
##########
hugegraph-client/src/main/java/org/apache/hugegraph/api/graph/GraphAPI.java:
##########
@@ -76,10 +73,11 @@ public static String formatProperties(Map<String, Object>
properties) {
* which will invalidate the jersey's automatic decoding
* because it considers the space to be encoded as `%2F`
*/
- return encode(json);
+// return encode(json);
+ return json;
}
- public static String encode(String raw) {
- return UriComponent.encode(raw, Type.QUERY_PARAM_SPACE_ENCODED);
- }
+// public static String encode(String raw) {
+// return UriComponent.encode(raw, Type.QUERY_PARAM_SPACE_ENCODED);
Review Comment:
any alternative plan?
##########
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:
just import the Response class?
--
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]