juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject juddi git commit: JUDDI-241 removing reference to JDK7 specific api in favor of JDK6
Date Tue, 09 Dec 2014 03:27:25 GMT
Repository: juddi
Updated Branches:
  refs/heads/master 4429dadd5 -> d7854c235


JUDDI-241 removing reference to JDK7 specific api in favor of JDK6


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

Branch: refs/heads/master
Commit: d7854c2359acf7f20994b05f8a4377dea193fd4d
Parents: 4429dad
Author: Alex <alexoree@apache.org>
Authored: Mon Dec 8 22:27:17 2014 -0500
Committer: Alex <alexoree@apache.org>
Committed: Mon Dec 8 22:27:17 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/juddi/api/impl/UDDIReplicationImpl.java  | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/d7854c23/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
----------------------------------------------------------------------
diff --git a/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java b/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
index bb2d17c..80e4082 100644
--- a/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
+++ b/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDIReplicationImpl.java
@@ -16,7 +16,6 @@
  */
 package org.apache.juddi.api.impl;
 
-import java.io.StringWriter;
 import java.math.BigInteger;
 import java.rmi.RemoteException;
 import java.util.ArrayList;
@@ -29,7 +28,7 @@ import java.util.Queue;
 import java.util.Set;
 import java.util.Timer;
 import java.util.TimerTask;
-import java.util.concurrent.ConcurrentLinkedDeque;
+import java.util.concurrent.ConcurrentLinkedQueue;
 import javax.jws.WebParam;
 import javax.jws.WebResult;
 import javax.jws.WebService;
@@ -37,7 +36,6 @@ import javax.jws.soap.SOAPBinding;
 import javax.persistence.EntityManager;
 import javax.persistence.EntityTransaction;
 import javax.persistence.Query;
-import javax.xml.bind.JAXB;
 import javax.xml.bind.annotation.XmlSeeAlso;
 import javax.xml.ws.BindingProvider;
 import org.apache.commons.configuration.ConfigurationException;
@@ -111,7 +109,7 @@ public class UDDIReplicationImpl extends AuthenticatedService implements
UDDIRep
 
                 Set<String> addedNodes = diffNodeList(oldnodes, newNodes);
                 if (queue == null) {
-                        queue = new ConcurrentLinkedDeque<NotifyChangeRecordsAvailable>();
+                        queue = new ConcurrentLinkedQueue<NotifyChangeRecordsAvailable>();
                 }
                 for (String s : addedNodes) {
                         if (!s.equals(node)) {
@@ -183,7 +181,7 @@ public class UDDIReplicationImpl extends AuthenticatedService implements
UDDIRep
 
         private synchronized void Init() {
                 if (queue == null) {
-                        queue = new ConcurrentLinkedDeque<NotifyChangeRecordsAvailable>();
+                        queue = new ConcurrentLinkedQueue<NotifyChangeRecordsAvailable>();
                 }
                 timer = new PullTimerTask();
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message