ctubbsii commented on a change in pull request #1795:
URL: https://github.com/apache/accumulo/pull/1795#discussion_r527138902



##########
File path: 
minicluster/src/main/java/org/apache/accumulo/cluster/RemoteShellOptions.java
##########
@@ -69,8 +70,8 @@ public RemoteShellOptions() {
       if (f.exists() && f.isFile() && f.canRead()) {
         FileReader reader = null;
         try {
-          reader = new FileReader(f);
-        } catch (FileNotFoundException e) {
+          reader = new FileReader(f, UTF_8);
+        } catch (IOException e) {

Review comment:
       This constructor is newer, so they probably made it less specific 
because they declared their exceptions too narrowly when they wrote the 
original method.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to