aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/turbine/types/Canonicalize.java
diff options
context:
space:
mode:
authorLiam Miller-Cushon <cushon@google.com>2021-07-23 10:52:51 -0700
committerJavac Team <javac-team+copybara@google.com>2021-07-23 10:53:32 -0700
commitdc09acb294c58a3d948a7dd1a2eedcda0b7a2778 (patch)
treef2e417ee6ff6a0b75519dfa5037570ec66e36611 /java/com/google/turbine/types/Canonicalize.java
parentdd5dfec3f0a5e5f5a7fdbc0a8da31b26cfe8bcc7 (diff)
downloadturbine-dc09acb294c58a3d948a7dd1a2eedcda0b7a2778.tar.gz
Apply some `ReturnMissingNullable` fixes
PiperOrigin-RevId: 386487552
Diffstat (limited to 'java/com/google/turbine/types/Canonicalize.java')
-rw-r--r--java/com/google/turbine/types/Canonicalize.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/turbine/types/Canonicalize.java b/java/com/google/turbine/types/Canonicalize.java
index f997648..b8fbe95 100644
--- a/java/com/google/turbine/types/Canonicalize.java
+++ b/java/com/google/turbine/types/Canonicalize.java
@@ -284,6 +284,7 @@ public class Canonicalize {
}
/** Instantiates a type argument using the given mapping. */
+ @Nullable
private static Type instantiate(Map<TyVarSymbol, Type> mapping, Type type) {
if (type == null) {
return null;