1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +01:00

[mam] Delete unused local variable 'iqType' in MamPrefsIQProvider

This commit is contained in:
Florian Schmaus 2021-08-25 22:48:31 +02:00
parent 001985647a
commit 613f1afcab

View file

@ -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;