Skip to content

Commit

Permalink
Fix a lint error in GlideTrace.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Mar 6, 2018
1 parent b2eb35d commit 8417836
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ public final class GlideTrace {
/** Maximum length of a systrace tag. */
private static final int MAX_LENGTH = 127;

private GlideTrace() {
// Utility class.
}

private static String truncateTag(String tag) {
if (tag.length() > MAX_LENGTH) {
return tag.substring(0, MAX_LENGTH - 1);
Expand Down

0 comments on commit 8417836

Please sign in to comment.