projects
/
rhynodge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Annotate Filter interface with @NotNull
[rhynodge.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
rhynodge
/
filters
/
BlacklistFilter.java
diff --git
a/src/main/java/net/pterodactylus/rhynodge/filters/BlacklistFilter.java
b/src/main/java/net/pterodactylus/rhynodge/filters/BlacklistFilter.java
index
8374ac0
..
5bac2a0
100644
(file)
--- a/
src/main/java/net/pterodactylus/rhynodge/filters/BlacklistFilter.java
+++ b/
src/main/java/net/pterodactylus/rhynodge/filters/BlacklistFilter.java
@@
-30,6
+30,7
@@
import net.pterodactylus.rhynodge.states.TorrentState;
import net.pterodactylus.rhynodge.states.TorrentState.TorrentFile;
import com.google.common.base.Predicate;
import net.pterodactylus.rhynodge.states.TorrentState.TorrentFile;
import com.google.common.base.Predicate;
+import org.jetbrains.annotations.NotNull;
/**
* Filter for {@link TorrentState}s that removes all {@link TorrentFile}s whose
/**
* Filter for {@link TorrentState}s that removes all {@link TorrentFile}s whose
@@
-45,8
+46,9
@@
public class BlacklistFilter implements Filter {
this.filterWords = filterWords;
}
this.filterWords = filterWords;
}
+ @NotNull
@Override
@Override
- public State filter(State state) {
+ public State filter(
@NotNull
State state) {
if (!state.success()) {
return FailedState.from(state);
}
if (!state.success()) {
return FailedState.from(state);
}