From 3e1056efe945b302c398a8aae21734606a8e9072 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Tue, 16 May 2006 18:16:16 +0000 Subject: [PATCH] Fixed JDK compatibility issue. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3905 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/bookmark/Bookmarks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smackx/bookmark/Bookmarks.java b/source/org/jivesoftware/smackx/bookmark/Bookmarks.java index 744dd2f45..fa15964d7 100644 --- a/source/org/jivesoftware/smackx/bookmark/Bookmarks.java +++ b/source/org/jivesoftware/smackx/bookmark/Bookmarks.java @@ -251,7 +251,7 @@ public class Bookmarks implements PrivateData { String jid = parser.getAttributeValue("", "jid"); conf.setName(name); - conf.setAutoJoin(Boolean.parseBoolean(autojoin)); + conf.setAutoJoin(Boolean.valueOf(autojoin).booleanValue()); conf.setJid(jid); // Check for nickname