Author: norman
Date: Tue Jul 12 18:35:15 2011
New Revision: 1145710
URL: http://svn.apache.org/viewvc?rev=1145710&view=rev
Log:
Fix copy and paste error. See IMAP-305
Modified:
james/imap/trunk/message/src/main/java/org/apache/james/imap/decode/parser/AbstractSelectionCommandParser.java
Modified:
james/imap/trunk/message/src/main/java/org/apache/james/imap/decode/parser/AbstractSelectionCommandParser.java
URL:
http://svn.apache.org/viewvc/james/imap/trunk/message/src/main/java/org/apache/james/imap/decode/parser/AbstractSelectionCommandParser.java?rev=1145710&r1=1145709&r2=1145710&view=diff
==============================================================================
---
james/imap/trunk/message/src/main/java/org/apache/james/imap/decode/parser/AbstractSelectionCommandParser.java
(original)
+++
james/imap/trunk/message/src/main/java/org/apache/james/imap/decode/parser/AbstractSelectionCommandParser.java
Tue Jul 12 18:35:15 2011
@@ -35,7 +35,7 @@ public abstract class AbstractSelectionC
- private final static byte[] UNCHANGEDSINCE = "(UNCHANGEDSINCE)".getBytes();
+ private final static byte[] CONDSTORE = "(CONDSTORE)".getBytes();
private int cap(char next) {
final int cap = next > 'Z' ? next ^ 32 : next;
@@ -66,7 +66,7 @@ public abstract class AbstractSelectionC
int pos = 0;
@Override
public boolean isValid(char chr) {
- return cap(chr) == UNCHANGEDSINCE[pos++];
+ return cap(chr) == CONDSTORE[pos++];
}
});
condstore = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]