1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Make EventContentFilter's members 'final'

This commit is contained in:
Florian Schmaus 2015-12-06 22:49:48 +01:00
parent 54ba300dc5
commit 83eda4c58d

View file

@ -699,12 +699,12 @@ abstract public class Node
*/ */
class EventContentFilter extends FlexibleStanzaTypeFilter<Message> class EventContentFilter extends FlexibleStanzaTypeFilter<Message>
{ {
private String firstElement; private final String firstElement;
private String secondElement; private final String secondElement;
EventContentFilter(String elementName) EventContentFilter(String elementName)
{ {
firstElement = elementName; this(elementName, null);
} }
EventContentFilter(String firstLevelEelement, String secondLevelElement) EventContentFilter(String firstLevelEelement, String secondLevelElement)