mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Update errorprone(-plugin) and make Unused(Variable|Method) an error
This commit is contained in:
parent
68d7d738b6
commit
7f0dc72dab
46 changed files with 81 additions and 126 deletions
|
@ -129,11 +129,10 @@ public class QueueOverview implements ExtensionElement {
|
|||
public QueueOverview parse(XmlPullParser parser,
|
||||
int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException,
|
||||
IOException, SmackTextParseException {
|
||||
XmlPullParser.Event eventType = parser.getEventType();
|
||||
QueueOverview queueOverview = new QueueOverview();
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT);
|
||||
|
||||
eventType = parser.next();
|
||||
XmlPullParser.Event eventType = parser.next();
|
||||
while (eventType != XmlPullParser.Event.END_ELEMENT
|
||||
|| !ELEMENT_NAME.equals(parser.getName())) {
|
||||
if ("count".equals(parser.getName())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue