From ef1c16186f572d235c6b63555553adee89b46c3b Mon Sep 17 00:00:00 2001 From: Gaston Dombiak <gaston@jivesoftware.com> Date: Wed, 10 Nov 2004 23:31:34 +0000 Subject: [PATCH] Fixed NPE retrieving the user's roster. git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@306 b35dd754-fafc-0310-a699-88a17e54d16e --- src/java/org/jivesoftware/messenger/user/spi/UserImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java b/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java index c167607d8..be5dec1b8 100644 --- a/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java +++ b/src/java/org/jivesoftware/messenger/user/spi/UserImpl.java @@ -239,7 +239,7 @@ public class UserImpl implements User, Cacheable { else { // Not in cache so load a new one: roster = new CachedRosterImpl(username); - CacheManager.getCache("userame2roster").put(username, roster); + CacheManager.getCache("username2roster").put(username, roster); } return roster; } -- 2.21.0