Author: norman Date: Wed Sep 28 14:32:40 2011 New Revision: 1176897 URL: http://svn.apache.org/viewvc?rev=1176897&view=rev Log: Replace tabs with whitespaces
Modified: james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/JPAMessageMapper.java Modified: james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/JPAMessageMapper.java URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/JPAMessageMapper.java?rev=1176897&r1=1176896&r2=1176897&view=diff ============================================================================== --- james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/JPAMessageMapper.java (original) +++ james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/JPAMessageMapper.java Wed Sep 28 14:32:40 2011 @@ -130,25 +130,24 @@ public class JPAMessageMapper extends Ab final long to = set.getUidTo(); final Type type = set.getType(); - switch (type) { - default: - case ALL: - results = findMessagesInMailbox(mailbox, max); - break; - case FROM: - results = findMessagesInMailboxAfterUID(mailbox, from, max); - break; - case ONE: - results = findMessagesInMailboxWithUID(mailbox, from); - break; - case RANGE: - results = findMessagesInMailboxBetweenUIDs(mailbox, from, to, - max); - break; - } + switch (type) { + default: + case ALL: + results = findMessagesInMailbox(mailbox, max); + break; + case FROM: + results = findMessagesInMailboxAfterUID(mailbox, from, max); + break; + case ONE: + results = findMessagesInMailboxWithUID(mailbox, from); + break; + case RANGE: + results = findMessagesInMailboxBetweenUIDs(mailbox, from, to, max); + break; + } + + return results.iterator(); - return results.iterator(); - } catch (PersistenceException e) { throw new MailboxException("Search of MessageRange " + set + " failed in mailbox " + mailbox, e); } --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org