You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2006/09/04 05:03:03 UTC

svn commit: r439911 - /james/server/branches/v2.3/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java

Author: noel
Date: Sun Sep  3 20:03:02 2006
New Revision: 439911

URL: http://svn.apache.org/viewvc?view=rev&rev=439911
Log:
No code change.  Just fixing the format before fixing the code.

Modified:
    james/server/branches/v2.3/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java

Modified: james/server/branches/v2.3/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java?view=diff&rev=439911&r1=439910&r2=439911
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java (original)
+++ james/server/branches/v2.3/src/java/org/apache/james/mailrepository/JDBCSpoolRepository.java Sun Sep  3 20:03:02 2006
@@ -141,20 +141,20 @@
                 
                 public boolean accept (String key, String state, long lastUpdated, String errorMessage) {
                     if (Mail.ERROR.equals(state)) {
-                    //if it's an error message, test the time
+                        //if it's an error message, test the time
                         long processingTime = delay + lastUpdated;
-                    if (processingTime < System.currentTimeMillis()) {
-                        //It's time to process
+                        if (processingTime < System.currentTimeMillis()) {
+                            //It's time to process
                             return true;
-                    } else {
-                        //We don't process this, but we want to possibly reduce the amount of time
-                        //  we sleep so we wake when this message is ready.
-                        if (sleepUntil == 0 || processingTime < sleepUntil) {
-                            sleepUntil = processingTime;
-                        }
+                        } else {
+                            //We don't process this, but we want to possibly reduce the amount of time
+                            //  we sleep so we wake when this message is ready.
+                            if (sleepUntil == 0 || processingTime < sleepUntil) {
+                                sleepUntil = processingTime;
+                            }
                             return false;
-                    }
-                } else {
+                        }
+                    } else {
                         return true;
                     }
                 }



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