james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1131139 - /james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/comparator/SentDateComparator.java
Date Fri, 03 Jun 2011 18:58:06 GMT
Author: norman
Date: Fri Jun  3 18:58:06 2011
New Revision: 1131139

URL: http://svn.apache.org/viewvc?rev=1131139&view=rev
Log:
Add a comment. See MAILBOX-78

Modified:
    james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/comparator/SentDateComparator.java

Modified: james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/comparator/SentDateComparator.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/comparator/SentDateComparator.java?rev=1131139&r1=1131138&r2=1131139&view=diff
==============================================================================
--- james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/comparator/SentDateComparator.java
(original)
+++ james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/search/comparator/SentDateComparator.java
Fri Jun  3 18:58:06 2011
@@ -70,6 +70,7 @@ public class SentDateComparator implemen
                         DateTime dateTime = new DateTimeParser(reader).parseAll();
                         return dateTime.getDate();
                     } catch (ParseException e) {
+                        // if we can not parse the date header we should break here and use
the internaldate as fallback
                         break;
                     }
                 



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