Skip to content

Commit

Permalink
Fix style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sp4ce-cowboy committed Oct 28, 2023
1 parent a7a05fe commit 1aeeeff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/unicash/commons/util/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @param <T> type parameter of the first type of {@code Object} to be contained
* @param <U> type parameter of the second type of {@code Object} to be contained
*/
public class Pair<T,U> {
public class Pair<T, U> {
private T t;
private U u;

Expand Down
3 changes: 0 additions & 3 deletions src/main/java/unicash/logic/parser/FilterCommandParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
import static unicash.logic.parser.CliSyntax.PREFIX_NAME;
import static unicash.logic.parser.CliSyntax.PREFIX_TYPE;

import java.util.List;

import unicash.logic.commands.FilterCommand;
import unicash.logic.parser.exceptions.ParseException;
import unicash.model.category.Category;
import unicash.model.category.UniqueCategoryList;
import unicash.model.commons.Amount;
import unicash.model.transaction.DateTime;
import unicash.model.transaction.Location;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package unicash.model.transaction.predicates;

import java.util.function.Predicate;

import unicash.commons.util.Pair;
import unicash.model.transaction.Transaction;

import java.util.function.Predicate;

/**
* A wrapper class for containing Boolean and TransactionPredicate pairs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class TransactionContainsAllKeywordsPredicate
public static final String EMPTY_STRING = "";
public static final List<String> EMPTY_STRING_LIST = List.of(EMPTY_STRING);

public HashMap<TransactionProperty, BooleanPredicatePair>
private HashMap<TransactionProperty, BooleanPredicatePair>
predicatePairMap = new HashMap<>();

/**
Expand Down

0 comments on commit 1aeeeff

Please sign in to comment.