Code analysis - address @NotNull/@Nullable issues.

This commit is contained in:
Alan Evans
2019-05-22 13:51:56 -03:00
committed by GitHub
parent 7db1588578
commit 9445555d66
113 changed files with 238 additions and 232 deletions

View File

@@ -1,5 +1,7 @@
package org.thoughtcrime.securesms.attachments;
import android.support.annotation.NonNull;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.thoughtcrime.securesms.util.Util;
@@ -29,7 +31,7 @@ public class AttachmentId {
return new String[] {String.valueOf(rowId), String.valueOf(uniqueId)};
}
public String toString() {
public @NonNull String toString() {
return "(row id: " + rowId + ", unique ID: " + uniqueId + ")";
}