Simplify some boolean expressions.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Reply.java
index c229d04..e9b7a1d 100644 (file)
@@ -51,7 +51,7 @@ public interface Reply<T extends Reply<T>> extends Identified {
                 */
                @Override
                public boolean apply(Reply<?> reply) {
-                       return (reply == null) ? false : reply.getTime() <= System.currentTimeMillis();
+                       return (reply != null) && (reply.getTime() <= System.currentTimeMillis());
                }
 
        };