harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r628001 - in /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io: LineNumberInputStream.java LineNumberReader.java
Date Fri, 15 Feb 2008 10:33:07 GMT
Author: tellison
Date: Fri Feb 15 02:33:05 2008
New Revision: 628001

URL: http://svn.apache.org/viewvc?rev=628001&view=rev
Log:
No need to warn about falling through the case statement here.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberInputStream.java
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberReader.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberInputStream.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberInputStream.java?rev=628001&r1=628000&r2=628001&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberInputStream.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberInputStream.java
Fri Feb 15 02:33:05 2008
@@ -110,6 +110,7 @@
      *             If the stream is already closed or another IOException
      *             occurs.
      */
+    @SuppressWarnings("fallthrough")
     @Override
     public int read() throws IOException {
         int currentChar = lastChar;

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberReader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberReader.java?rev=628001&r1=628000&r2=628001&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberReader.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/LineNumberReader.java
Fri Feb 15 02:33:05 2008
@@ -111,6 +111,7 @@
      *             If the reader is already closed or another IOException
      *             occurs.
      */
+    @SuppressWarnings("fallthrough")
     @Override
     public int read() throws IOException {
         synchronized (lock) {



Mime
View raw message