Roy Golan has uploaded a new change for review.

Change subject: core: use Collections.newHashSet instead of apache.mina
......................................................................

core: use Collections.newHashSet instead of apache.mina

Change-Id: I8135e30fb0514f0c7963a8ae403b3043c461cce8
Signed-off-by: Roy Golan <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/attestationbroker/AttestThread.java
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/51/29051/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/attestationbroker/AttestThread.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/attestationbroker/AttestThread.java
index bf145a0..0e552fd 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/attestationbroker/AttestThread.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/attestationbroker/AttestThread.java
@@ -1,9 +1,11 @@
 package org.ovirt.engine.core.bll.attestationbroker;
 
+import java.util.Collections;
 import java.util.List;
 import java.util.Map;
+import java.util.Set;
+import java.util.concurrent.ConcurrentHashMap;
 
-import org.apache.mina.util.ConcurrentHashSet;
 import org.ovirt.engine.core.bll.Backend;
 import org.ovirt.engine.core.bll.job.ExecutionHandler;
 import org.ovirt.engine.core.common.action.SetNonOperationalVdsParameters;
@@ -24,7 +26,7 @@
     private List<String> trustedHostsNames;
     private final int FIRST_STAGE_QUERY_SIZE = Config.<Integer> 
getValue(ConfigValues.AttestationFirstStageSize);
     private final int SECOND_STAGE_QUERY_SIZE = Config.<Integer> 
getValue(ConfigValues.AttestationSecondStageSize);
-    private final static ConcurrentHashSet<Guid> trustedVdses = new 
ConcurrentHashSet<>();
+    private final static Set<Guid> trustedVdses = 
Collections.newSetFromMap(new ConcurrentHashMap<Guid, Boolean>());
 
     public AttestThread(List<String> trustedHostsNames) {
         this.trustedHostsNames = trustedHostsNames;


-- 
To view, visit http://gerrit.ovirt.org/29051
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8135e30fb0514f0c7963a8ae403b3043c461cce8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to