jdk/src/share/classes/java/io/LineNumberReader.java
changeset 11121 4cdbb7f9480f
parent 5506 202f599c92aa
child 14342 8435a30053c1
--- a/jdk/src/share/classes/java/io/LineNumberReader.java	Thu Dec 01 18:34:23 2011 +0000
+++ b/jdk/src/share/classes/java/io/LineNumberReader.java	Thu Dec 01 16:14:41 2011 -0800
@@ -120,6 +120,7 @@
      * @throws  IOException
      *          If an I/O error occurs
      */
+    @SuppressWarnings("fallthrough")
     public int read() throws IOException {
         synchronized (lock) {
             int c = super.read();
@@ -159,6 +160,7 @@
      * @throws  IOException
      *          If an I/O error occurs
      */
+    @SuppressWarnings("fallthrough")
     public int read(char cbuf[], int off, int len) throws IOException {
         synchronized (lock) {
             int n = super.read(cbuf, off, len);