Skip to content

Commit

Permalink
Modify code for checkStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
KrashKart committed Oct 9, 2024
1 parent 5ffbc0e commit 95a09a2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Finds and lists all persons in address book whose name contains any of the argument keywords.
* Keyword matching is case-insensitive.
*/
abstract public class AbstractFindCommand extends Command {
public abstract class AbstractFindCommand extends Command {

public static final String COMMAND_WORD = "find";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package seedu.address.model.person;

import java.util.List;
import java.util.function.Predicate;

import seedu.address.commons.util.StringUtil;
import seedu.address.commons.util.ToStringBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
import java.util.List;
import java.util.function.Predicate;

import seedu.address.commons.util.StringUtil;
import seedu.address.commons.util.ToStringBuilder;

/**
* Tests that a {@code Person}'s {@code Name} matches any of the keywords given.
*/
abstract public class ContainsKeywordsPredicate implements Predicate<Person> {
public abstract class ContainsKeywordsPredicate implements Predicate<Person> {
private final List<String> keywords;

public ContainsKeywordsPredicate(List<String> keywords) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package seedu.address.model.person;

import java.util.List;
import java.util.function.Predicate;

import seedu.address.commons.util.StringUtil;
import seedu.address.commons.util.ToStringBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package seedu.address.model.person;

import java.util.List;
import java.util.function.Predicate;

import seedu.address.commons.util.StringUtil;
import seedu.address.commons.util.ToStringBuilder;
Expand All @@ -12,7 +11,7 @@
public class NameContainsKeywordsPredicate extends ContainsKeywordsPredicate {

public NameContainsKeywordsPredicate(List<String> keywords) {
super(keywords);
super(keywords);
}

@Override
Expand Down

0 comments on commit 95a09a2

Please sign in to comment.