From 483f08e08c55d908ed6d581ce1de70ccb9bfb524 Mon Sep 17 00:00:00 2001 From: cushon Date: Thu, 25 Oct 2018 16:39:04 -0700 Subject: Make a switch exhaustive MOE_MIGRATED_REVID=218773246 --- java/com/google/turbine/types/Canonicalize.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'java/com/google') 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) { -- cgit v1.2.3