Skip to content
Snippets Groups Projects
Commit accd2d70 authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

renamed parameter in handleKeyword()

parent daeec119
No related branches found
No related tags found
No related merge requests found
...@@ -256,12 +256,12 @@ public class Chat { ...@@ -256,12 +256,12 @@ public class Chat {
} }
} }
private boolean handleKeyword(String keyword, boolean fromRemote, BufferedReader input, PrintStream output) { private boolean handleKeyword(String keyword, boolean localMessage, BufferedReader input, PrintStream output) {
if (keyword.equals(bundle.getString("communicate.keyword.exit"))) { if (keyword.equals(bundle.getString("communicate.keyword.exit"))) {
return false; return false;
/* /*
} else if (keyword.equals(bundle.getString("communicate.keyword.setLocale"))) { } else if (keyword.equals(bundle.getString("communicate.keyword.setLocale"))) {
if (fromRemote) { if (localMessage) {
Prompt user using output.println() (be sure to use i18n properties) Prompt user using output.println() (be sure to use i18n properties)
and get response using input.readLine(). Get the appropriate Locale and call and get response using input.readLine(). Get the appropriate Locale and call
setLocale( ... ); setLocale( ... );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment