Skip to content

Commit

Permalink
Debloat ConversationAdapter's tag
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nrizzio authored and moxie0 committed Feb 19, 2017
1 parent 0f820e6 commit e1f09e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/thoughtcrime/securesms/ConversationAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit e1f09e0

Please sign in to comment.