From 819b32ec9534d403119063a0c9a67c90ce799e03 Mon Sep 17 00:00:00 2001 From: Thiago Camargo Date: Tue, 10 Oct 2006 22:03:22 +0000 Subject: [PATCH] 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 --- source/org/jivesoftware/smack/util/PacketParserUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smack/util/PacketParserUtils.java b/source/org/jivesoftware/smack/util/PacketParserUtils.java index b81d85666..66332d071 100644 --- a/source/org/jivesoftware/smack/util/PacketParserUtils.java +++ b/source/org/jivesoftware/smack/util/PacketParserUtils.java @@ -297,7 +297,7 @@ public class PacketParserUtils { public static XMPPError parseError(XmlPullParser parser) throws Exception { final String errorNamespace = "urn:ietf:params:xml:ns:xmpp-stanzas"; String errorCode = "-1"; - String type = null; + String type = ""; String message = null; String condition = null; List extensions = new ArrayList();