james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [25/34] james-project git commit: JAMES-2085 Remove reported todo due to typos
Date Wed, 05 Jul 2017 13:59:32 GMT
JAMES-2085 Remove reported todo due to typos


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/35c63ce5
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/35c63ce5
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/35c63ce5

Branch: refs/heads/master
Commit: 35c63ce535f0020961c58662479c3c94cd66e1c5
Parents: 11f5efa
Author: benwa <btellier@linagora.com>
Authored: Mon Jul 3 16:23:20 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed Jul 5 17:13:48 2017 +0700

----------------------------------------------------------------------
 .../james/mailbox/lucene/search/LuceneMessageSearchIndex.java  | 2 +-
 .../james/mailbox/maildir/mail/MaildirMessageMapper.java       | 6 +++---
 .../java/org/apache/james/smtpserver/MailPriorityHandler.java  | 2 +-
 .../java/org/apache/james/smtpserver/SetMimeHeaderHandler.java | 2 +-
 .../apache/james/smtpserver/fastfail/JDBCGreylistHandler.java  | 2 +-
 .../org/apache/james/smtpserver/fastfail/MaxRcptHandler.java   | 3 +--
 .../apache/james/smtpserver/fastfail/MaxUnknownCmdHandler.java | 3 +--
 .../src/main/java/org/apache/james/queue/api/MailQueue.java    | 2 +-
 8 files changed, 10 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
----------------------------------------------------------------------
diff --git a/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
b/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
index 61a32e1..e2c0f57 100644
--- a/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
+++ b/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
@@ -1056,7 +1056,7 @@ public class LuceneMessageSearchIndex extends ListeningMessageSearchIndex
{
                 }
             }
         }
-        // add the uid sorting as last so if no other sorting was able todo the job it will
get sorted by the uid
+        // add the uid sorting as last so if no other sorting was able to do the job it will
get sorted by the uid
         fields.add(UID_SORT);
         Sort sort = new Sort();
         sort.setSort(fields.toArray(new SortField[0]));

http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
----------------------------------------------------------------------
diff --git a/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
b/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
index 9a8d766..e6c3514 100644
--- a/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
+++ b/mailbox/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
@@ -447,7 +447,7 @@ public class MaildirMessageMapper extends AbstractMessageMapper {
      */
     @Override
     protected void begin() throws MailboxException {
-        // nothing todo
+        // nothing to do
     }
 
     /**
@@ -455,7 +455,7 @@ public class MaildirMessageMapper extends AbstractMessageMapper {
      */
     @Override
     protected void commit() throws MailboxException {
-        // nothing todo
+        // nothing to do
     }
 
     /**
@@ -463,7 +463,7 @@ public class MaildirMessageMapper extends AbstractMessageMapper {
      */
     @Override
     protected void rollback() throws MailboxException {
-        // nothing todo
+        // nothing to do
     }
 
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/MailPriorityHandler.java
----------------------------------------------------------------------
diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/MailPriorityHandler.java
b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/MailPriorityHandler.java
index b07f273..ff86a83 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/MailPriorityHandler.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/MailPriorityHandler.java
@@ -93,7 +93,7 @@ public class MailPriorityHandler implements JamesMessageHook, ProtocolHandler
{
 
     @Override
     public void destroy() {
-        // nothing todo
+        // nothing to do
     }
 
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/SetMimeHeaderHandler.java
----------------------------------------------------------------------
diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/SetMimeHeaderHandler.java
b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/SetMimeHeaderHandler.java
index 3a1ed37..3740532 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/SetMimeHeaderHandler.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/SetMimeHeaderHandler.java
@@ -91,7 +91,7 @@ public class SetMimeHeaderHandler implements JamesMessageHook, ProtocolHandler
{
 
     @Override
     public void destroy() {
-        // nothing todo
+        // nothing to do
     }
 
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/JDBCGreylistHandler.java
----------------------------------------------------------------------
diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/JDBCGreylistHandler.java
b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/JDBCGreylistHandler.java
index d5bd551..0457354 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/JDBCGreylistHandler.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/JDBCGreylistHandler.java
@@ -452,6 +452,6 @@ public class JDBCGreylistHandler extends AbstractGreylistHandler implements
Prot
 
     @Override
     public void destroy() {
-        // nothing todo
+        // nothing to do
     }
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxRcptHandler.java
----------------------------------------------------------------------
diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxRcptHandler.java
b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxRcptHandler.java
index a653bc9..9e882ba 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxRcptHandler.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxRcptHandler.java
@@ -33,7 +33,6 @@ public class MaxRcptHandler extends org.apache.james.protocols.smtp.core.fastfai
 
     @Override
     public void destroy() {
-        // nothing todo
-        
+        // nothing to do
     }
 }

http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxUnknownCmdHandler.java
----------------------------------------------------------------------
diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxUnknownCmdHandler.java
b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxUnknownCmdHandler.java
index b5a2c01..d677807 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxUnknownCmdHandler.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/MaxUnknownCmdHandler.java
@@ -33,8 +33,7 @@ public class MaxUnknownCmdHandler extends org.apache.james.protocols.smtp.core.f
 
     @Override
     public void destroy() {
-        // nothing todo
-        
+        // nothing to do
     }
 }
 

http://git-wip-us.apache.org/repos/asf/james-project/blob/35c63ce5/server/queue/queue-api/src/main/java/org/apache/james/queue/api/MailQueue.java
----------------------------------------------------------------------
diff --git a/server/queue/queue-api/src/main/java/org/apache/james/queue/api/MailQueue.java
b/server/queue/queue-api/src/main/java/org/apache/james/queue/api/MailQueue.java
index 67c9282..ff76968 100644
--- a/server/queue/queue-api/src/main/java/org/apache/james/queue/api/MailQueue.java
+++ b/server/queue/queue-api/src/main/java/org/apache/james/queue/api/MailQueue.java
@@ -84,7 +84,7 @@ public interface MailQueue {
     /**
      * Dequeue the next ready-to-process Mail of the queue. This method will
      * block until a Mail is ready and then process the operation.
-     * Implementations should take care todo some kind of transactions to not
+     * Implementations should take care to do some kind of transactions to not
      * loose any mail on error
      */
     MailQueueItem deQueue() throws MailQueueException, InterruptedException;


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