commits@javamail.java.net

[mercurial:89] Fix description of QuotaAwareStore.getQuota - argument is a folder, not

From: <shannon_at_kenai.com>
Date: Tue, 11 Nov 2008 01:05:10 +0000 (GMT)

Repository: mercurial
Revision: 89
Author: Bill Shannon <bill.shannon_at_sun.com>
Date: 2008-11-05 19:26:58 UTC

Log Message:
-----------
Fix description of QuotaAwareStore.getQuota - argument is a folder, not
a
quota root.

Modified Paths:
--------------
    mail/src/main/java/javax/mail/QuotaAwareStore.java

Diffs:
-----
diff -r ddd93ca773df -r 8c3d7b8277cd
mail/src/main/java/javax/mail/QuotaAwareStore.java
--- a/mail/src/main/java/javax/mail/QuotaAwareStore.java Wed Nov
05 11:24:23 2008 -0800
+++ b/mail/src/main/java/javax/mail/QuotaAwareStore.java Wed Nov
05 11:26:58 2008 -0800
@@ -47,7 +47,7 @@
  */
 public interface QuotaAwareStore {
     /**
- * Get the quotas for the named quota root.
+ * Get the quotas for the named folder.
      * Quotas are controlled on the basis of a quota root, not
      * (necessarily) a folder. The relationship between folders
      * and quota roots depends on the server. Some servers
@@ -57,12 +57,12 @@
      * quota roots, perhaps controlling quotas for different
      * resources.
      *
- * @param root the name of the quota root
+ * @param folder the name of the folder
      * @return array of Quota objects
      * @exception MessagingException if the server doesn't support
the
      * QUOTA extension
      */
- Quota[] getQuota(String root) throws MessagingException;
+ Quota[] getQuota(String folder) throws MessagingException;
 
     /**
      * Set the quotas for the quota root specified in the quota
argument.