jdk/src/share/classes/java/util/regex/Pattern.java
changeset 13158 f628cbfcbfa0
parent 12675 3b7d71495649
child 13554 ad737436c54a
--- a/jdk/src/share/classes/java/util/regex/Pattern.java	Mon Jul 02 19:32:35 2012 +0100
+++ b/jdk/src/share/classes/java/util/regex/Pattern.java	Mon Jul 02 14:11:44 2012 -0700
@@ -2026,6 +2026,7 @@
         }
     }
 
+    @SuppressWarnings("fallthrough")
     /**
      * Parsing of sequences between alternations.
      */
@@ -2140,6 +2141,7 @@
         return head;
     }
 
+    @SuppressWarnings("fallthrough")
     /**
      * Parse and add a new Single or Slice.
      */
@@ -2978,6 +2980,7 @@
         return head;
     }
 
+    @SuppressWarnings("fallthrough")
     /**
      * Parses inlined match flags and set them appropriately.
      */
@@ -3019,6 +3022,7 @@
         }
     }
 
+    @SuppressWarnings("fallthrough")
     /**
      * Parses the second part of inlined match flags and turns off
      * flags appropriately.