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

Make IQ(IQ) constructor protected

This commit is contained in:
Florian Schmaus 2019-10-30 08:20:25 +01:00
parent e2223254cf
commit 63ba524758

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;