Skip to content

Commit

Permalink
RANGER-881: sampleapp update to comply with good coding practices
Browse files Browse the repository at this point in the history
  • Loading branch information
mneethiraj committed Mar 11, 2016
1 parent 46c2f94 commit bda66dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
import java.nio.charset.StandardCharsets;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

Expand Down Expand Up @@ -144,7 +145,7 @@ private Set<String> getStringSetArg(String[] args, int index) {
}

private String getInput() {
Scanner inputReader = new Scanner(System.in);
Scanner inputReader = new Scanner(System.in, StandardCharsets.UTF_8.name());

System.out.print("command> ");
System.out.flush();
Expand Down

0 comments on commit bda66dd

Please sign in to comment.