Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MIME4J-215: Make MboxIterator compatible with target.jdk=1.5

Eclipse's .settings, .project and .classpath added to svn:ignore

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1353129 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 0ddf3aaa5f7b3f1e1dfe20951f8f0ddd1e308461 1 parent 16eb70f
Gazda authored
View
5 mbox/src/main/java/org/apache/james/mime4j/mboxiterator/MboxIterator.java
@@ -110,19 +110,16 @@ private void saveFindPositions(Matcher lineMatcher) {
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 boolean hasNext() {
*
* @return CharBuffer instance
*/
- @Override
public CharBufferWrapper next() {
final CharBuffer message;
fromLineFound = fromLineMathcer.find();
@@ -188,7 +184,6 @@ public CharBufferWrapper next() {
return new CharBufferWrapper(message);
}
- @Override
public void remove() {
throw new UnsupportedOperationException("Not supported yet.");
}
Please sign in to comment.
Something went wrong with that request. Please try again.