mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 03:57:58 +01:00
[core] Make ExtensionElementFilter's constructor public
This commit is contained in:
parent
2c05754018
commit
167af86f79
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue