From accd2d70fc0f294ab361d00eb1fdce147b3f9cca Mon Sep 17 00:00:00 2001
From: Christopher Bohn <bohn@unl.edu>
Date: Thu, 7 Nov 2019 22:10:06 -0600
Subject: [PATCH] renamed parameter in handleKeyword()

---
 src/main/java/edu/unl/cse/csce361/socket_chat/Chat.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/edu/unl/cse/csce361/socket_chat/Chat.java b/src/main/java/edu/unl/cse/csce361/socket_chat/Chat.java
index 79d87d7..45f3a1f 100644
--- a/src/main/java/edu/unl/cse/csce361/socket_chat/Chat.java
+++ b/src/main/java/edu/unl/cse/csce361/socket_chat/Chat.java
@@ -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"))) {
             return false;
         /*
         } else if (keyword.equals(bundle.getString("communicate.keyword.setLocale"))) {
-            if (fromRemote) {
+            if (localMessage) {
                 Prompt user using output.println() (be sure to use i18n properties)
                 and get response using input.readLine(). Get the appropriate Locale and call
                 setLocale( ... );
-- 
GitLab