1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 12:32:06 +01:00

obey to checkstyle static rule

This commit is contained in:
Paul Schaub 2019-09-14 20:29:59 +02:00
parent ddbbc63aae
commit cef58fde24

View file

@ -79,7 +79,7 @@ public class MetadataProvider extends ExtensionElementProvider<MetadataExtension
return new MetadataExtension(metadataInfos, pointers); return new MetadataExtension(metadataInfos, pointers);
} }
private MetadataInfo parseInfo(XmlPullParser parser) throws XmlPullParserException { private static MetadataInfo parseInfo(XmlPullParser parser) throws XmlPullParserException {
String id; String id;
URL url = null; URL url = null;
long bytes = 0; long bytes = 0;
@ -120,7 +120,7 @@ public class MetadataProvider extends ExtensionElementProvider<MetadataExtension
} }
} }
private MetadataPointer parsePointer(XmlPullParser parser) throws XmlPullParserException, IOException { private static MetadataPointer parsePointer(XmlPullParser parser) throws XmlPullParserException, IOException {
int pointerDepth = parser.getDepth(); int pointerDepth = parser.getDepth();
String namespace = null; String namespace = null;
HashMap<String, Object> fields = null; HashMap<String, Object> fields = null;