1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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; private Type type = Type.get;
// TODO: This method should be protected! protected IQ(IQ iq) {
public IQ(IQ iq) {
super(iq); super(iq);
type = iq.getType(); type = iq.getType();
this.childElementName = iq.childElementName; this.childElementName = iq.childElementName;