nashorn/src/jdk/internal/dynalink/beans/MaximallySpecific.java
changeset 16245 6a1c6c8bc113
parent 16234 86cb162cec6c
child 18841 9bbc4b8832b2
--- a/nashorn/src/jdk/internal/dynalink/beans/MaximallySpecific.java	Mon Feb 18 10:36:18 2013 +0100
+++ b/nashorn/src/jdk/internal/dynalink/beans/MaximallySpecific.java	Mon Feb 18 16:00:15 2013 +0100
@@ -92,7 +92,6 @@
 import jdk.internal.dynalink.linker.LinkerServices;
 import jdk.internal.dynalink.support.TypeUtilities;
 
-
 /**
  * Utility class that encapsulates the algorithm for choosing the maximally specific methods.
  *
@@ -141,6 +140,10 @@
                     }
                     case INDETERMINATE: {
                         // do nothing
+                        break;
+                    }
+                    default: {
+                        throw new AssertionError();
                     }
                 }
             }