cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [3/6] git commit: updated refs/heads/ui-restyle to 019e075
Date Tue, 08 Oct 2013 00:13:05 GMT
UsageManagerInternal fix

aed5e9dc2a6882139bc38073923be5a3bacfd9d2 seems to inroduce some typo to run

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/977a75f1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/977a75f1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/977a75f1

Branch: refs/heads/ui-restyle
Commit: 977a75f1be98d696dd70638b614918751b96fdfd
Parents: 4c2e40a
Author: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Authored: Mon Oct 7 19:37:26 2013 +0200
Committer: Darren Shepherd <darren.s.shepherd@gmail.com>
Committed: Mon Oct 7 13:13:40 2013 -0700

----------------------------------------------------------------------
 usage/src/com/cloud/usage/UsageManagerImpl.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/977a75f1/usage/src/com/cloud/usage/UsageManagerImpl.java
----------------------------------------------------------------------
diff --git a/usage/src/com/cloud/usage/UsageManagerImpl.java b/usage/src/com/cloud/usage/UsageManagerImpl.java
index 5f28674..3ff53e0 100644
--- a/usage/src/com/cloud/usage/UsageManagerImpl.java
+++ b/usage/src/com/cloud/usage/UsageManagerImpl.java
@@ -281,15 +281,15 @@ public class UsageManagerImpl extends ManagerBase implements UsageManager,
Runna
 
     @Override
     public void run() {
-        new ManagedContextRunnable() {
+        (new ManagedContextRunnable() {
             @Override
             protected void runInContext() {
-                runInContext();
+                runInContextInternal();
             }
-        };
+        }).run();
     }
     
-    protected void runInContext() {
+    protected void runInContextInternal() {
         if (s_logger.isInfoEnabled()) {
             s_logger.info("starting usage job...");
         }


Mime
View raw message