1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 16:22:06 +01:00

Assigned a default value to the "type" instance variable. SMACK-176

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5676 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2006-10-10 22:03:22 +00:00 committed by thiago
parent 998172b111
commit 819b32ec95

View file

@ -297,7 +297,7 @@ public class PacketParserUtils {
public static XMPPError parseError(XmlPullParser parser) throws Exception { public static XMPPError parseError(XmlPullParser parser) throws Exception {
final String errorNamespace = "urn:ietf:params:xml:ns:xmpp-stanzas"; final String errorNamespace = "urn:ietf:params:xml:ns:xmpp-stanzas";
String errorCode = "-1"; String errorCode = "-1";
String type = null; String type = "";
String message = null; String message = null;
String condition = null; String condition = null;
List<PacketExtension> extensions = new ArrayList<PacketExtension>(); List<PacketExtension> extensions = new ArrayList<PacketExtension>();