mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 18:48:00 +01:00
[mam] Delete unused local variable 'iqType' in MamPrefsIQProvider
This commit is contained in:
parent
001985647a
commit
613f1afcab
1 changed files with 0 additions and 5 deletions
|
@ -43,17 +43,12 @@ public class MamPrefsIQProvider extends IQProvider<MamPrefsIQ> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public MamPrefsIQ parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException {
|
public MamPrefsIQ parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException {
|
||||||
String iqType = parser.getAttributeValue("", "type");
|
|
||||||
String defaultBehaviorString = parser.getAttributeValue("", "default");
|
String defaultBehaviorString = parser.getAttributeValue("", "default");
|
||||||
DefaultBehavior defaultBehavior = null;
|
DefaultBehavior defaultBehavior = null;
|
||||||
if (defaultBehaviorString != null) {
|
if (defaultBehaviorString != null) {
|
||||||
defaultBehavior = DefaultBehavior.valueOf(defaultBehaviorString);
|
defaultBehavior = DefaultBehavior.valueOf(defaultBehaviorString);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iqType == null) {
|
|
||||||
iqType = "result";
|
|
||||||
}
|
|
||||||
|
|
||||||
List<Jid> alwaysJids = null;
|
List<Jid> alwaysJids = null;
|
||||||
List<Jid> neverJids = null;
|
List<Jid> neverJids = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue