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

fix checkstyle error #344

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/model/note/ClassType.java
Expand Up @@ -8,8 +8,9 @@
*/
public class ClassType {
public static final String MESSAGE_CONSTRAINTS =
"Types should only contain the registered types of earnings. "
"Types should only contain the registered types of notes. "
+ "Eg. tutorials(tut)/lab/consultations(c)/sectionals(s)/preparation_time(p)";

public static final String VALIDATION_REGEX = "tutorials|tut|lab|consultations|c|sectionals|s|preparation_time|p";

public final String type;
Expand Down Expand Up @@ -49,4 +50,3 @@ public int hashCode() {
return type.hashCode();
}
}

Expand Up @@ -119,8 +119,6 @@ public class CommandTestUtil {
public static final String VALID_TYPE_NOTES_LAB = "lab";
public static final String VALID_TYPE_NOTES_C = "c";

public static final String INVALID_TYPE_DESC_NOTE = " " + PREFIX_TYPE + "interview";

public static final String VALID_NOTE_CONTENT_1 = "check project consultation time";
public static final String VALID_NOTE_CONTENT_2 = "remember to bring test result";
public static final String VALID_NOTE_CONTENT_3 = "meeting with lecturer";
Expand Down