Debloat ConversationAdapter's tag

getName() includes the full package name, which adds a ridiculous
amount of text to the debug log. Using getSimpleName() is in line with
the rest of the repository.

Closes #6202
// FREEBIE
This commit is contained in:
Nicholas Rizzio 2017-02-09 18:43:53 -05:00 committed by Moxie Marlinspike
parent 0f820e6beb
commit e1f09e0437

View File

@ -72,7 +72,7 @@ public class ConversationAdapter <V extends View & BindableConversationItem>
{
private static final int MAX_CACHE_SIZE = 40;
private static final String TAG = ConversationAdapter.class.getName();
private static final String TAG = ConversationAdapter.class.getSimpleName();
private final Map<String,SoftReference<MessageRecord>> messageRecordCache =
Collections.synchronizedMap(new LRUCache<String, SoftReference<MessageRecord>>(MAX_CACHE_SIZE));