Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
fix findbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldju committed Mar 14, 2017
1 parent 3d094a6 commit 17fcbb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ private void validateRestore(S3StoreService s3StoreService, RestoreCompleteCerbe
}

if (! proceed.equalsIgnoreCase("proceed")) {
System.exit(1);
throw new RuntimeException("User did not confirm to proceed with backup restore");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public String readLine(String format, Object... args) throws IOException {
return System.console().readLine(format, args);
}
System.out.print(String.format(format, args));
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in, "UTF-8"));
return reader.readLine();
}

Expand Down

0 comments on commit 17fcbb5

Please sign in to comment.