james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppal...@apache.org
Subject svn commit: r1353129 - in /james/mime4j/trunk/mbox: ./ src/main/java/org/apache/james/mime4j/mboxiterator/MboxIterator.java
Date Sat, 23 Jun 2012 13:38:39 GMT
Author: ppalaga
Date: Sat Jun 23 13:38:38 2012
New Revision: 1353129

URL: http://svn.apache.org/viewvc?rev=1353129&view=rev
Log:
MIME4J-215: Make MboxIterator compatible with target.jdk=1.5
Eclipse's .settings, .project and .classpath added to svn:ignore

Modified:
    james/mime4j/trunk/mbox/   (props changed)
    james/mime4j/trunk/mbox/src/main/java/org/apache/james/mime4j/mboxiterator/MboxIterator.java

Propchange: james/mime4j/trunk/mbox/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jun 23 13:38:38 2012
@@ -0,0 +1,3 @@
+.settings
+.classpath
+.project

Modified: james/mime4j/trunk/mbox/src/main/java/org/apache/james/mime4j/mboxiterator/MboxIterator.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/mbox/src/main/java/org/apache/james/mime4j/mboxiterator/MboxIterator.java?rev=1353129&r1=1353128&r2=1353129&view=diff
==============================================================================
--- james/mime4j/trunk/mbox/src/main/java/org/apache/james/mime4j/mboxiterator/MboxIterator.java
(original)
+++ james/mime4j/trunk/mbox/src/main/java/org/apache/james/mime4j/mboxiterator/MboxIterator.java
Sat Jun 23 13:38:38 2012
@@ -110,19 +110,16 @@ public class MboxIterator implements Ite
         findEnd = lineMatcher.end();
     }
 
-    @Override
     public Iterator<CharBufferWrapper> iterator() {
         return new MessageIterator();
     }
 
-    @Override
     public void close() throws IOException {
         theFile.close();
     }
 
     private class MessageIterator implements Iterator<CharBufferWrapper> {
 
-        @Override
         public boolean hasNext() {
             if (!fromLineFound) {
                 try {
@@ -140,7 +137,6 @@ public class MboxIterator implements Ite
          *
          * @return CharBuffer instance
          */
-        @Override
         public CharBufferWrapper next() {
             final CharBuffer message;
             fromLineFound = fromLineMathcer.find();
@@ -188,7 +184,6 @@ public class MboxIterator implements Ite
             return new CharBufferWrapper(message);
         }
 
-        @Override
         public void remove() {
             throw new UnsupportedOperationException("Not supported yet.");
         }



Mime
View raw message