james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject james-project git commit: JAMES-1816 Fix error while reading quota configuration - Reported by Guofeng Zhang
Date Wed, 17 Aug 2016 03:57:30 GMT
Repository: james-project
Updated Branches:
  refs/heads/master cf49b9a68 -> d429bd945


JAMES-1816 Fix error while reading quota configuration - Reported by Guofeng Zhang


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/d429bd94
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/d429bd94
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/d429bd94

Branch: refs/heads/master
Commit: d429bd945d0911bf19ab33d260c649c56db79606
Parents: cf49b9a
Author: Benoit Tellier <btellier@linagora.com>
Authored: Sat Aug 13 14:45:41 2016 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Wed Aug 17 10:53:08 2016 +0700

----------------------------------------------------------------------
 .../container/spring/mailbox/MaxQuotaConfigurationReader.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/d429bd94/server/container/spring/src/main/java/org/apache/james/container/spring/mailbox/MaxQuotaConfigurationReader.java
----------------------------------------------------------------------
diff --git a/server/container/spring/src/main/java/org/apache/james/container/spring/mailbox/MaxQuotaConfigurationReader.java
b/server/container/spring/src/main/java/org/apache/james/container/spring/mailbox/MaxQuotaConfigurationReader.java
index c0bee1e..24f27d2 100644
--- a/server/container/spring/src/main/java/org/apache/james/container/spring/mailbox/MaxQuotaConfigurationReader.java
+++ b/server/container/spring/src/main/java/org/apache/james/container/spring/mailbox/MaxQuotaConfigurationReader.java
@@ -45,7 +45,7 @@ public class MaxQuotaConfigurationReader implements Configurable {
         Long defaultMaxMessage = config.configurationAt("maxQuotaManager").getLong("defaultMaxMessage",
null);
         Long defaultMaxStorage = config.configurationAt("maxQuotaManager").getLong("defaultMaxStorage",
null);
         Map<String, Long> maxMessage = parseMaxMessageConfiguration(config, "maxMessage");
-        Map<String, Long> maxStorage = parseMaxMessageConfiguration(config, "maxMessage");
+        Map<String, Long> maxStorage = parseMaxMessageConfiguration(config, "maxStorage");
         try {
             configureDefaultValues(defaultMaxMessage, defaultMaxStorage);
             configureQuotaRootSpecificValues(maxMessage, maxStorage);


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