Skip to content
Permalink
Browse files
JUDDI-241 removing reference to JDK7 specific api in favor of JDK6
  • Loading branch information
spyhunter99 committed Dec 9, 2014
1 parent 4429dad commit d7854c2359acf7f20994b05f8a4377dea193fd4d
Showing 1 changed file with 3 additions and 5 deletions.
@@ -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,15 +28,14 @@
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;
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 @@ static void notifyConfigurationChange(ReplicationConfiguration oldConfig, Replic

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 UDDIReplicationImpl() {

private synchronized void Init() {
if (queue == null) {
queue = new ConcurrentLinkedDeque<NotifyChangeRecordsAvailable>();
queue = new ConcurrentLinkedQueue<NotifyChangeRecordsAvailable>();
}
timer = new PullTimerTask();

0 comments on commit d7854c2

Please sign in to comment.