Make IQ(IQ) constructor protected

This commit is contained in:
Florian Schmaus 2019-10-30 08:20:25 +01:00
parent e2223254cf
commit 63ba524758
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ public abstract class IQ extends Stanza implements IqView {
private Type type = Type.get;
// TODO: This method should be protected!
public IQ(IQ iq) {
protected IQ(IQ iq) {
super(iq);
type = iq.getType();
this.childElementName = iq.childElementName;