Skip to content

Commit

Permalink
SPR-6421, conversation store
Browse files Browse the repository at this point in the history
  • Loading branch information
Micha Kiener committed Jan 4, 2010
1 parent 9dd9c83 commit a22d0d0
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ public int size() {
*/
protected Map<String, Conversation> getConversationMapSafe() {
try {
return getConversationMap();
Map<String, Conversation> conversationMap = getConversationMap();
if (conversationMap == null && isUseFallbackMap()) {
return getConversationMapFallback();
}

return conversationMap;
} catch (Exception e) {
// if the map is not reachable and fallback is on, return the
// fallback map
Expand Down

0 comments on commit a22d0d0

Please sign in to comment.