vdiravka commented on a change in pull request #1397: DRILL-6633: Replace usage
of Guava classes by JDK ones
URL: https://github.com/apache/drill/pull/1397#discussion_r207705023
##########
File path:
contrib/storage-hbase/src/test/java/org/apache/drill/hbase/BaseHBaseTest.java
##########
@@ -71,7 +71,7 @@ public static void tearDownAfterClass() throws Exception {
}
protected String getPlanText(String planFile, String tableName) throws
IOException {
- return Files.toString(DrillFileUtils.getResourceAsFile(planFile),
Charsets.UTF_8)
+ return Files.toString(DrillFileUtils.getResourceAsFile(planFile),
StandardCharsets.UTF_8)
Review comment:
Replace `DrillFileUtils.getResourceAsFile()` with
`DrillFileUtils.getResourceAsString()`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services