Skip to content

Commit

Permalink
Refactor code to pass CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yeekian committed Nov 11, 2024
1 parent a1afccc commit 4ef19d1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/main/java/tutorlink/ui/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
import java.util.Scanner;

public class Ui {
private Scanner in = new Scanner(System.in);

private final String LOGO = "___________ __ .____ .__ __\n"
private static final String LOGO = "___________ __ .____ .__ __\n"
+ "\\__ ___/_ ___/ |_ ___________| | |__| ____ | | __\n"
+ " | | | | \\ __\\/ _ \\_ __ \\ | | |/ \\| |/ /\n"
+ " | | | | /| | ( <_> ) | \\/ |___| | | \\ <\n"
+ " |____| |____/ |__| \\____/|__| |_______ \\__|___| /__|_ \\\n"
+ " \\/ \\/ \\/\n";
private final String HALF_BREAK_LINE =
private static final String HALF_BREAK_LINE =
"-------------------------";
private final String FULL_BREAK_LINE =
private static final String FULL_BREAK_LINE =
"-------------------------------------------------------------";

private final String HELP_MESSAGE = """
private static final String HELP_MESSAGE = """
------------------- List of Commands --------------------
help: Displays list of commands
Example: help
Expand Down Expand Up @@ -62,6 +61,8 @@ public class Ui {
Example: bye
-------------------------------------------------------------""";

private Scanner in = new Scanner(System.in);

public Ui() {
}

Expand Down

0 comments on commit 4ef19d1

Please sign in to comment.