From 62d903171f3412b6844ee2f3cb42ee6343ea6d1f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 24 Jan 2017 21:28:07 +0100 Subject: [PATCH] Remove NOP from FromMatchesFilter --- .../java/org/jivesoftware/smack/filter/FromMatchesFilter.java | 1 - 1 file changed, 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/filter/FromMatchesFilter.java b/smack-core/src/main/java/org/jivesoftware/smack/filter/FromMatchesFilter.java index 08b7f2c89..1ce3da300 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/filter/FromMatchesFilter.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/filter/FromMatchesFilter.java @@ -76,7 +76,6 @@ public class FromMatchesFilter implements StanzaFilter { * have a from address. */ public static FromMatchesFilter createBare(Jid address) { - address = (address == null) ? null : address; return new FromMatchesFilter(address, true); }