1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-10 18:59:41 +02:00

Make IQ.type private

to prevent subclasses form setting type to null.
This commit is contained in:
Florian Schmaus 2015-01-21 13:17:23 +01:00
parent 6a542824bc
commit 0f028fdf50
4 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ public class HttpOverXmppReq extends AbstractHttpOverXmpp {
super(ELEMENT);
this.method = method;
this.resource = resource;
type = Type.set;
setType(Type.set);
}
private HttpMethod method;