You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2013/02/07 13:54:13 UTC
git commit: refs/heads/master - CLOUDSTACK-1175: Fix NPE by making
_store a static variable shared by objects
Updated Branches:
refs/heads/master a9955f155 -> 9b691fc44
CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by objects
Signed-off-by: Rohit Yadav <bh...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9b691fc4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9b691fc4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9b691fc4
Branch: refs/heads/master
Commit: 9b691fc443cc27f1e2026ec239fc4aa11a4167aa
Parents: a9955f1
Author: Rohit Yadav <bh...@apache.org>
Authored: Thu Feb 7 18:23:05 2013 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Thu Feb 7 18:23:49 2013 +0530
----------------------------------------------------------------------
.../ratelimit/ApiRateLimitServiceImpl.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9b691fc4/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 a5726e1..5f38ccf 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 LimitStore _store = null;
+ private static LimitStore _store = null;
@Inject
AccountService _accountService;