You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/02/08 22:10:34 UTC
[21/43] git commit: refs/heads/ui-plugins - Revert "CLOUDSTACK-1175:
Fix NPE by making _store a static variable shared by objects"
Revert "CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by objects"
This reverts commit 9b691fc443cc27f1e2026ec239fc4aa11a4167aa.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d71cfc1a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d71cfc1a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d71cfc1a
Branch: refs/heads/ui-plugins
Commit: d71cfc1aec58a7e43591e228546ae773847d2d46
Parents: eaaf880
Author: Min Chen <mi...@citrix.com>
Authored: Thu Feb 7 21:49:37 2013 -0800
Committer: Min Chen <mi...@citrix.com>
Committed: Thu Feb 7 21:49:37 2013 -0800
----------------------------------------------------------------------
.../ratelimit/ApiRateLimitServiceImpl.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d71cfc1a/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
----------------------------------------------------------------------
diff --git a/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java b/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
index 5f38ccf..a5726e1 100644
--- a/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
+++ b/plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
@@ -56,7 +56,7 @@ public class ApiRateLimitServiceImpl extends AdapterBase implements APIChecker,
*/
private int maxAllowed = 30;
- private static LimitStore _store = null;
+ private LimitStore _store = null;
@Inject
AccountService _accountService;