aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/impl/SearchArgument.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-02-06 11:55:23 +0800
committershedaniel <daniel@shedaniel.me>2020-02-06 11:55:23 +0800
commit3ab6f974fb63b9f9232f8507e156cfc53cdf0250 (patch)
treef6625574308f0e5fd6e3e8f0120919ca4de4a0b1 /src/main/java/me/shedaniel/rei/impl/SearchArgument.java
parent129d287ddad825878af3b447f144ab38ccd1acf6 (diff)
downloadRoughlyEnoughItems-3ab6f974fb63b9f9232f8507e156cfc53cdf0250.tar.gz
RoughlyEnoughItems-3ab6f974fb63b9f9232f8507e156cfc53cdf0250.tar.bz2
RoughlyEnoughItems-3ab6f974fb63b9f9232f8507e156cfc53cdf0250.zip
4.0-unstable
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/SearchArgument.java')
-rw-r--r--src/main/java/me/shedaniel/rei/impl/SearchArgument.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/SearchArgument.java b/src/main/java/me/shedaniel/rei/impl/SearchArgument.java
index d92976f8a..97b640861 100644
--- a/src/main/java/me/shedaniel/rei/impl/SearchArgument.java
+++ b/src/main/java/me/shedaniel/rei/impl/SearchArgument.java
@@ -29,12 +29,12 @@ import java.util.function.Function;
@ApiStatus.Internal
public class SearchArgument {
- public static final SearchArgument ALWAYS = new SearchArgument(ArgumentType.ALWAYS, "", true);
- @Deprecated private static List<Item> searchBlacklisted = Lists.newArrayList();
+ private static final SearchArgument ALWAYS = new SearchArgument(ArgumentType.ALWAYS, "", true);
+ private static List<Item> searchBlacklisted = Lists.newArrayList();
private ArgumentType argumentType;
private String text;
- public final Function<String, Boolean> INCLUDE = s -> s.contains(text);
- public final Function<String, Boolean> NOT_INCLUDE = s -> !s.contains(text);
+ private final Function<String, Boolean> INCLUDE = s -> s.contains(text);
+ private final Function<String, Boolean> NOT_INCLUDE = s -> !s.contains(text);
private boolean include;
public SearchArgument(ArgumentType argumentType, String text, boolean include) {