mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
Make IQ attributes final in parseIQ()
This commit is contained in:
parent
de6eb4b21c
commit
e0b8577930
1 changed files with 5 additions and 5 deletions
|
@ -254,13 +254,13 @@ public class PacketParserUtils {
|
|||
*/
|
||||
public static IQ parseIQ(XmlPullParser parser, XMPPConnection connection) throws Exception {
|
||||
IQ iqPacket = null;
|
||||
|
||||
String id = parser.getAttributeValue("", "id");
|
||||
String to = parser.getAttributeValue("", "to");
|
||||
String from = parser.getAttributeValue("", "from");
|
||||
IQ.Type type = IQ.Type.fromString(parser.getAttributeValue("", "type"));
|
||||
XMPPError error = null;
|
||||
|
||||
final String id = parser.getAttributeValue("", "id");
|
||||
final String to = parser.getAttributeValue("", "to");
|
||||
final String from = parser.getAttributeValue("", "from");
|
||||
final IQ.Type type = IQ.Type.fromString(parser.getAttributeValue("", "type"));
|
||||
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int eventType = parser.next();
|
||||
|
|
Loading…
Reference in a new issue