diff options
author | cushon <cushon@google.com> | 2018-10-25 16:39:04 -0700 |
---|---|---|
committer | Liam Miller-Cushon <cushon@google.com> | 2018-10-25 17:56:53 -0700 |
commit | 483f08e08c55d908ed6d581ce1de70ccb9bfb524 (patch) | |
tree | aaf51655000941c60b1537103f51898d7c609db2 /java/com/google | |
parent | 3224bbcc9a3ee517a7ece21b57cddfe1204d67c1 (diff) | |
download | turbine-483f08e08c55d908ed6d581ce1de70ccb9bfb524.tar.gz |
Make a switch exhaustive
MOE_MIGRATED_REVID=218773246
Diffstat (limited to 'java/com/google')
-rw-r--r-- | java/com/google/turbine/types/Canonicalize.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/com/google/turbine/types/Canonicalize.java b/java/com/google/turbine/types/Canonicalize.java index 20b62da..92553e1 100644 --- a/java/com/google/turbine/types/Canonicalize.java +++ b/java/com/google/turbine/types/Canonicalize.java @@ -366,9 +366,8 @@ public class Canonicalize { return Type.WildLowerBoundedTy.create(canonicalize(base, type.bound()), type.annotations()); case UPPER: return Type.WildUpperBoundedTy.create(canonicalize(base, type.bound()), type.annotations()); - default: - throw new AssertionError(type.boundKind()); } + throw new AssertionError(type.boundKind()); } private TypeBoundClass getInfo(ClassSymbol canonOwner) { |