1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-10-31 17:25:58 +01:00

[core] Make ExtensionElementFilter's constructor public

This commit is contained in:
Florian Schmaus 2022-08-07 16:55:41 +02:00
parent 2c05754018
commit 167af86f79

View file

@ -1,6 +1,6 @@
/** /**
* *
* Copyright 2020-2021 Florian Schmaus * Copyright 2020-2022 Florian Schmaus
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ public class ExtensionElementFilter<E extends ExtensionElement> implements Stanz
private final Class<E> extensionElementClass; private final Class<E> extensionElementClass;
private final QName extensionElementQName; private final QName extensionElementQName;
protected ExtensionElementFilter(Class<E> extensionElementClass) { public ExtensionElementFilter(Class<E> extensionElementClass) {
this.extensionElementClass = extensionElementClass; this.extensionElementClass = extensionElementClass;
extensionElementQName = XmppElementUtil.getQNameFor(extensionElementClass); extensionElementQName = XmppElementUtil.getQNameFor(extensionElementClass);
} }