mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +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