1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 10:37:59 +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;