From 83eda4c58d2009d401907ccc522d8c2665598ff8 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 6 Dec 2015 22:49:48 +0100 Subject: [PATCH] Make EventContentFilter's members 'final' --- .../src/main/java/org/jivesoftware/smackx/pubsub/Node.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/Node.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/Node.java index cdf8e79b1..32946f486 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/Node.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/Node.java @@ -699,12 +699,12 @@ abstract public class Node */ class EventContentFilter extends FlexibleStanzaTypeFilter { - private String firstElement; - private String secondElement; + private final String firstElement; + private final String secondElement; EventContentFilter(String elementName) { - firstElement = elementName; + this(elementName, null); } EventContentFilter(String firstLevelEelement, String secondLevelElement)