1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 10:37:59 +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>
{
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)