Add a concrete Class which extends AbstractStorageQuota and can be directly used
--------------------------------------------------------------------------------

                 Key: JAMES-1196
                 URL: https://issues.apache.org/jira/browse/JAMES-1196
             Project: JAMES Server
          Issue Type: Improvement
          Components: Matchers/Mailets (bundled)
            Reporter: Barry
            Priority: Minor


I think the class as below should be added in default. 

public class StorageQuotaFixed extends AbstractStorageQuota {

    @Override
    protected long getQuota(MailAddress arg0, Mail arg1) throws 
MessagingException {
                return this.parseQuota(this.getCondition());
    }
}

when someone needs the solution for quota space, this matcher can be directly 
used.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to