Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Ui class to pass CI #215

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading