james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1029150 - in /james/server/trunk/core-library/src/main/java/org/apache/james/core: MimeMessageInputStream.java MimeMessageSource.java
Date Sat, 30 Oct 2010 18:46:59 GMT
Author: norman
Date: Sat Oct 30 18:46:59 2010
New Revision: 1029150

URL: http://svn.apache.org/viewvc?rev=1029150&view=rev
Log:
Cleanup + javadocs

Modified:
    james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageInputStream.java
    james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageSource.java

Modified: james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageInputStream.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageInputStream.java?rev=1029150&r1=1029149&r2=1029150&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageInputStream.java
(original)
+++ james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageInputStream.java
Sat Oct 30 18:46:59 2010
@@ -35,9 +35,6 @@ public class MimeMessageInputStream exte
     private final InputStream bodyInputStream;
     private int cStream = 0;
 
-    boolean nextCR = false;
-    boolean nextLF = false;
-
     @SuppressWarnings("unchecked")
     public MimeMessageInputStream(MimeMessage message) throws IOException {
         try {

Modified: james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageSource.java
URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageSource.java?rev=1029150&r1=1029149&r2=1029150&view=diff
==============================================================================
--- james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageSource.java
(original)
+++ james/server/trunk/core-library/src/main/java/org/apache/james/core/MimeMessageSource.java
Sat Oct 30 18:46:59 2010
@@ -122,6 +122,12 @@ public abstract class MimeMessageSource 
     protected abstract void disposeSource();
 
     
+    /**
+     * Allow to share a {@link MimeMessageSource} and take care of tracking 
+     * the instances. This is needed to make sure the {@link #dispose()} is not called 
+     * to early
+     *
+     */
     public final class SharedMimeMessageSource extends MimeMessageSource {
 
         private MimeMessageSource source;



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message