Messaging: Nullability

Change-Id: I8bcde2a868a9c8989971d056be24ff4986e4f8f3
This commit is contained in:
Michael W
2024-12-26 14:55:12 +01:00
parent e35d385149
commit c1b4aa4dfe
82 changed files with 372 additions and 120 deletions
@@ -17,6 +17,8 @@
package com.android.messaging.util.exif;
import androidx.annotation.NonNull;
import java.nio.charset.Charset;
import java.text.SimpleDateFormat;
import java.util.Arrays;
@@ -999,6 +1001,7 @@ public class ExifTag {
return false;
}
@NonNull
@Override
public String toString() {
return String.format("tag id: %04X\n", mTagId) + "ifd id: " + mIfd + "\ntype: "
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2012 The Android Open Source Project
* Copyright (C) 2024 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,6 +17,8 @@
package com.android.messaging.util.exif;
import androidx.annotation.NonNull;
/**
* The rational data type of EXIF tag. Contains a pair of longs representing the
* numerator and denominator of a Rational number.
@@ -81,6 +84,7 @@ public class Rational {
return false;
}
@NonNull
@Override
public String toString() {
return mNumerator + "/" + mDenominator;