mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-26 14:17:57 +01:00
Use an extra variable for 'name' in DataValidationProvider
This commit is contained in:
parent
3132d9a224
commit
702b9a5139
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ public class DataValidationProvider {
|
|||
int eventType = parser.next();
|
||||
switch (eventType) {
|
||||
case XmlPullParser.START_TAG:
|
||||
switch (parser.getName()) {
|
||||
String name = parser.getName();
|
||||
switch (name) {
|
||||
case OpenValidateElement.METHOD:
|
||||
dataValidation = new OpenValidateElement(dataType);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue