stoty commented on a change in pull request #147:
URL: https://github.com/apache/calcite-avatica/pull/147#discussion_r666760747



##########
File path: 
server/src/test/java/org/apache/calcite/avatica/server/HttpAuthBase.java
##########
@@ -80,12 +80,11 @@ void readWriteData(String url, String tableName, Properties 
props) throws Except
 
   static String getHashLoginServicePropertiesString() {
     try {
-      final String userPropertiesFile =
-              
URLDecoder.decode(HttpQueryStringParameterRemoteUserExtractorTest.class
-                      .getResource("/auth-users.properties").getFile(), 
"UTF-8");
+      final String userPropertiesFile = (new File(BasicAuthHttpServerTest.class
+          .getResource("/auth-users.properties").toURI())).getPath();

Review comment:
       done

##########
File path: 
server/src/test/java/org/apache/calcite/avatica/server/DigestAuthHttpServerTest.java
##########
@@ -44,8 +44,8 @@
   private static String url;
 
   @BeforeClass public static void startServer() throws Exception {
-    final String userPropertiesFile = 
URLDecoder.decode(BasicAuthHttpServerTest.class
-        .getResource("/auth-users.properties").getFile(), "UTF-8");
+    final String userPropertiesFile = (new File(BasicAuthHttpServerTest.class
+        .getResource("/auth-users.properties").toURI())).getPath();

Review comment:
       done




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