bhaveshamre commented on code in PR #690:
URL: https://github.com/apache/ranger/pull/690#discussion_r2568488541
##########
hdfs-agent/src/test/java/org/apache/ranger/services/hdfs/HDFSRangerTest.java:
##########
@@ -409,9 +419,9 @@ void hdfsReadTest(String fileName) throws Exception {
IOUtils.copy(in, output);
- String content = new String(output.toByteArray());
+ String content = output.toString();
Review Comment:
resolved
##########
hdfs-agent/src/test/java/org/apache/ranger/services/hdfs/HDFSRangerTest.java:
##########
@@ -386,9 +396,9 @@ void hdfsReadTest(String fileName) throws Exception {
IOUtils.copy(in, output);
- String content = new String(output.toByteArray());
+ String content = output.toString();
Review Comment:
resolved
--
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]