cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject git commit: updated refs/heads/master to 8b5ec64
Date Thu, 05 Jun 2014 13:35:12 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master d34419579 -> 8b5ec6484


Small fix for people that have JDK 1.8 installed on MacOSX and don't bother to fix their links


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

Branch: refs/heads/master
Commit: 8b5ec648423b7672846ca93f362269019bac3f94
Parents: d344195
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Thu Jun 5 09:54:46 2014 +0200
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Thu Jun 5 15:35:05 2014 +0200

----------------------------------------------------------------------
 .../org/apache/cloudstack/mom/inmemory/InMemoryEventBus.java    | 5 +++--
 utils/src/com/cloud/utils/backoff/impl/ConstantTimeBackoff.java | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8b5ec648/plugins/event-bus/inmemory/src/org/apache/cloudstack/mom/inmemory/InMemoryEventBus.java
----------------------------------------------------------------------
diff --git a/plugins/event-bus/inmemory/src/org/apache/cloudstack/mom/inmemory/InMemoryEventBus.java
b/plugins/event-bus/inmemory/src/org/apache/cloudstack/mom/inmemory/InMemoryEventBus.java
index 9a57ff0..fd2f9f3 100644
--- a/plugins/event-bus/inmemory/src/org/apache/cloudstack/mom/inmemory/InMemoryEventBus.java
+++ b/plugins/event-bus/inmemory/src/org/apache/cloudstack/mom/inmemory/InMemoryEventBus.java
@@ -26,12 +26,13 @@ import java.util.concurrent.ConcurrentHashMap;
 import javax.ejb.Local;
 import javax.naming.ConfigurationException;
 
+import org.apache.log4j.Logger;
+
 import org.apache.cloudstack.framework.events.Event;
 import org.apache.cloudstack.framework.events.EventBus;
 import org.apache.cloudstack.framework.events.EventBusException;
 import org.apache.cloudstack.framework.events.EventSubscriber;
 import org.apache.cloudstack.framework.events.EventTopic;
-import org.apache.log4j.Logger;
 
 import com.cloud.utils.Pair;
 import com.cloud.utils.component.ManagerBase;
@@ -41,7 +42,7 @@ public class InMemoryEventBus extends ManagerBase implements EventBus {
 
     private static final Logger s_logger = Logger.getLogger(InMemoryEventBus.class);
 
-    private final static ConcurrentHashMap<UUID, Pair<EventTopic, EventSubscriber>>
subscribers;
+    private final static Map<UUID, Pair<EventTopic, EventSubscriber>> subscribers;
 
     static {
         subscribers = new ConcurrentHashMap<UUID, Pair<EventTopic, EventSubscriber>>();

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8b5ec648/utils/src/com/cloud/utils/backoff/impl/ConstantTimeBackoff.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/backoff/impl/ConstantTimeBackoff.java b/utils/src/com/cloud/utils/backoff/impl/ConstantTimeBackoff.java
index 24d4d11..14eae16 100755
--- a/utils/src/com/cloud/utils/backoff/impl/ConstantTimeBackoff.java
+++ b/utils/src/com/cloud/utils/backoff/impl/ConstantTimeBackoff.java
@@ -45,7 +45,7 @@ import com.cloud.utils.component.AdapterBase;
 @Local(value = {BackoffAlgorithm.class})
 public class ConstantTimeBackoff extends AdapterBase implements BackoffAlgorithm, ConstantTimeBackoffMBean
{
     long _time;
-    private final ConcurrentHashMap<String, Thread> _asleep = new ConcurrentHashMap<String,
Thread>();
+    private final Map<String, Thread> _asleep = new ConcurrentHashMap<String, Thread>();
     private final static Log LOG = LogFactory.getLog(ConstantTimeBackoff.class);
 
     @Override


Mime
View raw message