Skip to content

Commit

Permalink
Bug fix and userguide update
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneChanJiajun committed Apr 8, 2024
1 parent 7b2a641 commit 4bc2e5a
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 @@ -157,7 +157,7 @@ public static void handleException(Exception exception) {
* @param input Input line that users placed into the chatbot
* @throws OmniException if the input contains any non-ASCII characters
*/
public static void ASCIICheck(String input) throws OmniException {
public static void asciiCheck(String input) throws OmniException {
for (int i = 0; i < input.length(); i++) {
char c = input.charAt(i);
if (c < 32 || c > 126) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/omnitravel/omnitravel/OmniTravel.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void main(String[] args) throws IOException {
try {
String line = in.nextLine();
assert line != null :"Input does not exist!";
CheckParameters.ASCIICheck(line);
CheckParameters.asciiCheck(line);
String[] command = line.split(" ");
logger.log(Level.INFO, command[0]);
switch (command[0].toLowerCase()) {
Expand Down

0 comments on commit 4bc2e5a

Please sign in to comment.