projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don’t check for the presence of the album image in the album.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Reply.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/Reply.java
b/src/main/java/net/pterodactylus/sone/data/Reply.java
index
60e5eeb
..
c229d04
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Reply.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Reply.java
@@
-51,7
+51,7
@@
public interface Reply<T extends Reply<T>> extends Identified {
*/
@Override
public boolean apply(Reply<?> reply) {
- return reply.getTime() <= System.currentTimeMillis();
+ return
(reply == null) ? false :
reply.getTime() <= System.currentTimeMillis();
}
};