james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1029023 - in /james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file: FileMailRepository.java MimeMessageAvalonSource.java MimeMessageStreamRepositorySource.java
Date Sat, 30 Oct 2010 11:13:41 GMT
Author: norman
Date: Sat Oct 30 11:13:41 2010
New Revision: 1029023

URL: http://svn.apache.org/viewvc?rev=1029023&view=rev
Log:
Renamve MimeMessageAvalonSource to MimeMessageStreamRepositorySource to better reflect the
usage

Added:
    james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageStreamRepositorySource.java
      - copied, changed from r1029021, james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageAvalonSource.java
Removed:
    james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageAvalonSource.java
Modified:
    james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/FileMailRepository.java

Modified: james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/FileMailRepository.java
URL: http://svn.apache.org/viewvc/james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/FileMailRepository.java?rev=1029023&r1=1029022&r2=1029023&view=diff
==============================================================================
--- james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/FileMailRepository.java
(original)
+++ james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/FileMailRepository.java
Sat Oct 30 11:13:41 2010
@@ -239,7 +239,7 @@ public class FileMailRepository
                 getLogger().debug(errorMessage, re);
                 return null;
             }
-            MimeMessageAvalonSource source = new MimeMessageAvalonSource(streamRepository,
destination, key);
+            MimeMessageStreamRepositorySource source = new MimeMessageStreamRepositorySource(streamRepository,
destination, key);
             mc.setMessage(new MimeMessageCopyOnWriteProxy(source));
 
             return mc;

Copied: james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageStreamRepositorySource.java
(from r1029021, james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageAvalonSource.java)
URL: http://svn.apache.org/viewvc/james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageStreamRepositorySource.java?p2=james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageStreamRepositorySource.java&p1=james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageAvalonSource.java&r1=1029021&r2=1029023&rev=1029023&view=diff
==============================================================================
--- james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageAvalonSource.java
(original)
+++ james/server/trunk/mail-file/src/main/java/org/apache/james/mailrepository/file/MimeMessageStreamRepositorySource.java
Sat Oct 30 11:13:41 2010
@@ -27,7 +27,7 @@ import org.apache.james.repository.Strea
 import java.io.IOException;
 import java.io.InputStream;
 
-public class MimeMessageAvalonSource extends MimeMessageSource {
+public class MimeMessageStreamRepositorySource extends MimeMessageSource {
 
     //Define how to get to the data
     
@@ -56,7 +56,7 @@ public class MimeMessageAvalonSource ext
      * @param repositoryName The name of the repository
      * @param key The key for the particular stream in the stream repository to be used by
this data source.
      */
-    public MimeMessageAvalonSource(StreamRepository sr, String repositoryName, String key)
{
+    public MimeMessageStreamRepositorySource(StreamRepository sr, String repositoryName,
String key) {
         this.sr = sr;
         this.repositoryName = repositoryName;
         this.key = key;



---------------------------------------------------------------------
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