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:
parent
e2223254cf
commit
63ba524758
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue