james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r951919 - /james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRMailboxManager.java
Date Sun, 06 Jun 2010 18:13:20 GMT
Author: norman
Date: Sun Jun  6 18:13:20 2010
New Revision: 951919

URL: http://svn.apache.org/viewvc?rev=951919&view=rev
Log:
Some small adjustments for the constructor

Modified:
    james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRMailboxManager.java

Modified: james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRMailboxManager.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRMailboxManager.java?rev=951919&r1=951918&r2=951919&view=diff
==============================================================================
--- james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRMailboxManager.java (original)
+++ james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRMailboxManager.java Sun
Jun  6 18:13:20 2010
@@ -44,11 +44,11 @@ public class JCRMailboxManager extends S
     private final Log logger = LogFactory.getLog(JCRMailboxManager.class);
     
     public JCRMailboxManager(JCRMailboxSessionMapperFactory mapperFactory, final Authenticator
authenticator, final Subscriber subscriber) {
-	    this(mapperFactory, authenticator, subscriber, new JCRVmNodeLocker());
+	    this(mapperFactory, authenticator, subscriber, new JCRVmNodeLocker(), new JCRUidConsumer(mapperFactory.getRepository(),
 new JCRVmNodeLocker()));
     }
 
-    public JCRMailboxManager(JCRMailboxSessionMapperFactory mapperFactory, final Authenticator
authenticator, final Subscriber subscriber, final NodeLocker locker) {
-        super(mapperFactory, authenticator, subscriber, new JCRUidConsumer(mapperFactory.getRepository(),
locker));
+    public JCRMailboxManager(JCRMailboxSessionMapperFactory mapperFactory, final Authenticator
authenticator, final Subscriber subscriber, final NodeLocker locker, final UidConsumer<String>
consumer) {
+        super(mapperFactory, authenticator, subscriber, consumer);
         this.mapperFactory = mapperFactory;
     }
 



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