diff options
| author | 2019-03-13 23:01:14 +0000 | |
|---|---|---|
| committer | 2019-03-13 23:01:14 +0000 | |
| commit | 7c8b15414177bccc5e84366d0a045c013f2c4831 (patch) | |
| tree | 099444ec7f4d9675689872c2d6170c82beccba5c /graphics/java | |
| parent | 7e8c759140ae3923e0e9a45924a124fa4a07791b (diff) | |
| parent | 3a8254ad38a8b3c5fd14334afb2b17e6935c1b99 (diff) | |
Merge "Change Font.Builder#build return type from @Nullable to @NonNull"
Diffstat (limited to 'graphics/java')
| -rw-r--r-- | graphics/java/android/graphics/fonts/Font.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/fonts/Font.java b/graphics/java/android/graphics/fonts/Font.java index f92802f5b574..c788f324a23f 100644 --- a/graphics/java/android/graphics/fonts/Font.java +++ b/graphics/java/android/graphics/fonts/Font.java @@ -360,7 +360,7 @@ public final class Font { * * @return the Font object */ - public @Nullable Font build() throws IOException { + public @NonNull Font build() throws IOException { if (mException != null) { throw new IOException("Failed to read font contents", mException); } |