james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r773413 - in /james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa: mail/ mail/model/ user/ user/model/
Date Sun, 10 May 2009 21:39:51 GMT
Author: rdonkin
Date: Sun May 10 21:39:51 2009
New Revision: 773413

URL: http://svn.apache.org/viewvc?rev=773413&view=rev
Log:
Fixed mistakes in javadocs

Modified:
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMailboxMapper.java
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMessageMapper.java
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAHeader.java
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailbox.java
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailboxMembership.java
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMessage.java
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/JPASubscriptionMapper.java
    james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/model/JPASubscription.java

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMailboxMapper.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMailboxMapper.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMailboxMapper.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMailboxMapper.java
Sun May 10 21:39:51 2009
@@ -44,7 +44,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#hasChildren
+     * @see org.apache.james.imap.store.mail.MailboxMapper#hasChildren
      */
     public boolean hasChildren(String mailboxName, char hierarchyDeliminator) throws StorageException
{
         
@@ -56,7 +56,7 @@
 
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#save(org.apache.james.imap.jpa.mail.model.JPAMailbox)
+     * @see org.apache.james.imap.store.mail.MailboxMapper#save(Mailbox)
      */
     public void save(Mailbox mailbox) throws StorageException {
         try {
@@ -67,7 +67,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#findMailboxByName(java.lang.String)
+     * @see org.apache.james.imap.store.mail.MailboxMapper#findMailboxByName(java.lang.String)
      */
     public Mailbox findMailboxByName(String name) throws StorageException, MailboxNotFoundException
{
         try {
@@ -81,7 +81,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#delete(org.apache.james.imap.jpa.mail.model.JPAMailbox)
+     * @see org.apache.james.imap.store.mail.MailboxMapper#delete(Mailbox)
      */
     public void delete(Mailbox mailbox) throws StorageException {
         try {  
@@ -92,7 +92,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#findMailboxWithNameLike(java.lang.String)
+     * @see org.apache.james.imap.store.mail.MailboxMapper#findMailboxWithNameLike(java.lang.String)
      */
     @SuppressWarnings("unchecked")
     public List<Mailbox> findMailboxWithNameLike(String name) throws StorageException
{
@@ -104,7 +104,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#deleteAll()
+     * @see org.apache.james.imap.store.mail.MailboxMapper#deleteAll()
      */
     public void deleteAll() throws StorageException {
         try {
@@ -115,7 +115,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#countMailboxesWithName(java.lang.String)
+     * @see org.apache.james.imap.store.mail.MailboxMapper#countMailboxesWithName(java.lang.String)
      */
     public long countMailboxesWithName(String name) throws StorageException {
         try {
@@ -126,7 +126,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#findMailboxById(long)
+     * @see org.apache.james.imap.store.mail.MailboxMapper#findMailboxById(long)
      */
     public Mailbox findMailboxById(long mailboxId) throws StorageException, MailboxNotFoundException
 {
         try {
@@ -139,7 +139,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MailboxMapper#consumeNextUid(long)
+     * @see org.apache.james.imap.store.mail.MailboxMapper#consumeNextUid(long)
      */
     public Mailbox consumeNextUid(long mailboxId) throws StorageException, MailboxNotFoundException
{
         try {

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMessageMapper.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMessageMapper.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMessageMapper.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/JPAMessageMapper.java
Sun May 10 21:39:51 2009
@@ -39,7 +39,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#findInMailbox(org.apache.james.imap.mailbox.MessageRange,
long)
+     * @see org.apache.james.imap.store.mail.MessageMapper#findInMailbox(org.apache.james.imap.mailbox.MessageRange,
long)
      */
     public List<MailboxMembership> findInMailbox(MessageRange set, long mailboxId)
throws StorageException {
         try {
@@ -96,7 +96,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#findMarkedForDeletionInMailbox(org.apache.james.imap.mailbox.MessageRange,
long)
+     * @see org.apache.james.imap.store.mail.MessageMapper#findMarkedForDeletionInMailbox(org.apache.james.imap.mailbox.MessageRange,
long)
      */
     public List<MailboxMembership> findMarkedForDeletionInMailbox(final MessageRange
set, final long mailboxId) throws StorageException {
         try {
@@ -153,7 +153,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#countMessagesInMailbox(long)
+     * @see org.apache.james.imap.store.mail.MessageMapper#countMessagesInMailbox(long)
      */
     public long countMessagesInMailbox(long mailboxId) throws StorageException {
         try {
@@ -164,7 +164,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#countUnseenMessagesInMailbox(long)
+     * @see org.apache.james.imap.store.mail.MessageMapper#countUnseenMessagesInMailbox(long)
      */
     public long countUnseenMessagesInMailbox(long mailboxId) throws StorageException {
         try {
@@ -175,7 +175,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#searchMailbox(long, org.apache.james.imap.mailbox.SearchQuery)
+     * @see org.apache.james.imap.store.mail.MessageMapper#searchMailbox(long, org.apache.james.imap.mailbox.SearchQuery)
      */
     @SuppressWarnings("unchecked")
     public List<MailboxMembership> searchMailbox(long mailboxId, SearchQuery query)
throws StorageException {
@@ -215,7 +215,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#delete(org.apache.james.imap.jpa.mail.model.JPAMessage)
+     * @see org.apache.james.imap.store.mail.MessageMapper#delete(MailboxMembership)
      */
     public void delete(MailboxMembership message) throws StorageException {
         try {
@@ -226,7 +226,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#findUnseenMessagesInMailboxOrderByUid(long)
+     * @see org.apache.james.imap.store.mail.MessageMapper#findUnseenMessagesInMailboxOrderByUid(long)
      */
     @SuppressWarnings("unchecked")
     public List<MailboxMembership> findUnseenMessagesInMailboxOrderByUid(final long
mailboxId)  throws StorageException {
@@ -238,7 +238,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#findRecentMessagesInMailbox(long)
+     * @see org.apache.james.imap.store.mail.MessageMapper#findRecentMessagesInMailbox(long)
      */
     @SuppressWarnings("unchecked")
     public List<MailboxMembership> findRecentMessagesInMailbox(final long mailboxId)
throws StorageException {
@@ -250,7 +250,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.MessageMapper#save(org.apache.james.imap.jpa.mail.model.JPAMessage)
+     * @see org.apache.james.imap.store.mail.MessageMapper#save(MailboxMembership)
      */
     public void save(MailboxMembership message) throws StorageException {
         try {

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAHeader.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAHeader.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAHeader.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAHeader.java
Sun May 10 21:39:51 2009
@@ -51,8 +51,6 @@
     
     /**
      * Copies the content of an existing header.
-     * @param mailboxId mailbox ID
-     * @param uid UI
      * @param header
      */
     public JPAHeader(JPAHeader header) {
@@ -67,21 +65,21 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Header#getField()
+     * @see org.apache.james.imap.store.mail.model.Header#getField()
      */
     public String getField() {
         return field;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Header#getLineNumber()
+     * @see org.apache.james.imap.store.mail.model.Header#getLineNumber()
      */
     public int getLineNumber() {
         return lineNumber;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Header#getValue()
+     * @see org.apache.james.imap.store.mail.model.Header#getValue()
      */
     public String getValue() {
         return value;

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailbox.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailbox.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailbox.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailbox.java
Sun May 10 21:39:51 2009
@@ -82,56 +82,56 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#getLastUid()
+     * @see org.apache.james.imap.store.mail.model.Mailbox#getLastUid()
      */
     public long getLastUid() {
         return lastUid;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#getMailboxId()
+     * @see org.apache.james.imap.store.mail.model.Mailbox#getMailboxId()
      */
     public long getMailboxId() {
         return mailboxId;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#getMessageCount()
+     * @see org.apache.james.imap.store.mail.model.Mailbox#getMessageCount()
      */
     public int getMessageCount() {
         return messageCount;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#getName()
+     * @see org.apache.james.imap.store.mail.model.Mailbox#getName()
      */
     public String getName() {
         return name;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#getSize()
+     * @see org.apache.james.imap.store.mail.model.Mailbox#getSize()
      */
     public long getSize() {
         return size;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#getUidValidity()
+     * @see org.apache.james.imap.store.mail.model.Mailbox#getUidValidity()
      */
     public long getUidValidity() {
         return uidValidity;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#consumeUid()
+     * @see org.apache.james.imap.store.mail.model.Mailbox#consumeUid()
      */
     public void consumeUid() {
         ++lastUid;
     }
     
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Mailbox#setName(java.lang.String)
+     * @see org.apache.james.imap.store.mail.model.Mailbox#setName(java.lang.String)
      */
     public void setName(String name) {
         this.name = name;

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailboxMembership.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailboxMembership.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailboxMembership.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMailboxMembership.java
Sun May 10 21:39:51 2009
@@ -178,70 +178,70 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#getInternalDate()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#getInternalDate()
      */
     public Date getInternalDate() {
         return internalDate;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#getMailboxId()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#getMailboxId()
      */
     public long getMailboxId() {
         return mailboxId;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Document#getSize()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#getSize()
      */
     public int getSize() {
         return size;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#getUid()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#getUid()
      */
     public long getUid() {
         return uid;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Document#isAnswered()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#isAnswered()
      */
     public boolean isAnswered() {
         return answered;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#isDeleted()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#isDeleted()
      */
     public boolean isDeleted() {
         return deleted;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#isDraft()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#isDraft()
      */
     public boolean isDraft() {
         return draft;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#isFlagged()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#isFlagged()
      */
     public boolean isFlagged() {
         return flagged;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#isRecent()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#isRecent()
      */
     public boolean isRecent() {
         return recent;
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#isSeen()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#isSeen()
      */
     public boolean isSeen() {
         return seen;
@@ -256,14 +256,14 @@
     }
     
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#unsetRecent()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#unsetRecent()
      */
     public void unsetRecent() {
         recent = false;
     }
     
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#setFlags(javax.mail.Flags)
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#setFlags(javax.mail.Flags)
      */
     public void setFlags(Flags flags) {
         answered = flags.contains(Flags.Flag.ANSWERED);
@@ -275,7 +275,7 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.MailboxMembership#createFlags()
+     * @see org.apache.james.imap.store.mail.model.MailboxMembership#createFlags()
      */
     public Flags createFlags() {
         final Flags flags = new Flags();

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMessage.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMessage.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMessage.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/mail/model/JPAMessage.java
Sun May 10 21:39:51 2009
@@ -83,14 +83,14 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Document#getHeaders()
+     * @see org.apache.james.imap.store.mail.model.Document#getHeaders()
      */
     public List<Header> getHeaders() {
         return new ArrayList<Header>(headers);
     }
     
     /**
-     * @see org.apache.james.imap.jpa.mail.model.Document#getBodyContent()
+     * @see org.apache.james.imap.store.mail.model.Document#getBodyContent()
      */    
     public ByteBuffer getBodyContent() {
         final ByteBuffer contentBuffer = getFullContent();

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/JPASubscriptionMapper.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/JPASubscriptionMapper.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/JPASubscriptionMapper.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/JPASubscriptionMapper.java
Sun May 10 21:39:51 2009
@@ -42,7 +42,7 @@
 
     /**
      * @throws SubscriptionException 
-     * @see org.apache.james.imap.jpa.user.SubscriptionManager#begin()
+     * @see org.apache.james.imap.store.user.SubscriptionMapper#begin()
      */
     public void begin() throws SubscriptionException {
         try {
@@ -53,8 +53,7 @@
     }
 
     /**
-     * @throws SubscriptionException 
-     * @see org.apache.james.imap.jpa.user.SubscriptionManager#commit()
+     * @throws SubscriptionException
      */
     public void commit() throws SubscriptionException {
         try {
@@ -66,7 +65,7 @@
 
     /**
      * @throws SubscriptionException 
-     * @see org.apache.james.imap.jpa.user.SubscriptionManager#findFindMailboxSubscriptionForUser(java.lang.String,
java.lang.String)
+     * @see org.apache.james.imap.store.user.SubscriptionMapper#findFindMailboxSubscriptionForUser(java.lang.String,
java.lang.String)
      */
     public Subscription findFindMailboxSubscriptionForUser(final String user, final String
mailbox) throws SubscriptionException {
         try {
@@ -81,7 +80,7 @@
 
     /**
      * @throws SubscriptionException 
-     * @see org.apache.james.imap.jpa.user.SubscriptionManager#save(org.apache.james.imap.jpa.user.model.Subscription)
+     * @see org.apache.james.imap.store.user.SubscriptionMapper#save(Subscription)
      */
     public void save(Subscription subscription) throws SubscriptionException {
         try {
@@ -93,7 +92,7 @@
 
     /**
      * @throws SubscriptionException 
-     * @see org.apache.james.imap.jpa.user.SubscriptionManager#findSubscriptionsForUser(java.lang.String)
+     * @see org.apache.james.imap.store.user.SubscriptionMapper#findSubscriptionsForUser(java.lang.String)
      */
     @SuppressWarnings("unchecked")
     public List<Subscription> findSubscriptionsForUser(String user) throws SubscriptionException
{
@@ -106,7 +105,7 @@
 
     /**
      * @throws SubscriptionException 
-     * @see org.apache.james.imap.jpa.user.SubscriptionManager#delete(org.apache.james.imap.jpa.user.model.Subscription)
+     * @see org.apache.james.imap.store.user.SubscriptionMapper#delete(Subscription)
      */
     public void delete(Subscription subscription) throws SubscriptionException {
         try {

Modified: james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/model/JPASubscription.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/model/JPASubscription.java?rev=773413&r1=773412&r2=773413&view=diff
==============================================================================
--- james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/model/JPASubscription.java
(original)
+++ james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/user/model/JPASubscription.java
Sun May 10 21:39:51 2009
@@ -69,14 +69,14 @@
     }
 
     /**
-     * @see org.apache.james.imap.jpa.user.model.Subscription#getMailbox()
+     * @see org.apache.james.imap.store.user.model.Subscription#getMailbox()
      */
     public String getMailbox() {
         return mailbox;
     }
     
     /**
-     * @see org.apache.james.imap.jpa.user.model.Subscription#getUser()
+     * @see org.apache.james.imap.store.user.model.Subscription#getUser()
      */
     public String getUser() {
         return user;



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