Skip to content

Commit

Permalink
Merge pull request eclipse-ee4j#23619 from pzygielo/ucam
Browse files Browse the repository at this point in the history
Remove unused containers
  • Loading branch information
gerdogdu authored Sep 24, 2021
2 parents 25dff27 + 48c06a6 commit 440f88c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright 2021 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -57,9 +58,6 @@ public class ConnectorXAResource implements XAResource {
private ResourceHandle localHandle_;
private JavaEETransaction associatedTransaction;

private static Hashtable listenerTable = new Hashtable();


// Create logger object per Java SDK 1.4 to log messages
// introduced Santanu De, Sun Microsystems, March 2002

Expand Down Expand Up @@ -199,10 +197,6 @@ public boolean setTransactionTimeout(int seconds) throws XAException {
return false;
}

public static void freeListener(ManagedConnection mc) {
listenerTable.remove(mc);
}

private ResourceHandle getResourceHandle() throws PoolingException {
try {
ResourceHandle h = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright 2021 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -106,7 +107,6 @@ public void destroyResource(ResourceHandle resource)
throws PoolingException {
try {
ManagedConnection mc = (ManagedConnection) resource.getResource();
ConnectorXAResource.freeListener(mc);
XAResource xares = resource.getXAResource();
forceTransactionCompletion(xares);
mc.destroy();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright 2021 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -123,17 +124,6 @@ public static enum BDAType { WAR, JAR, RAR, UNKNOWN };
cdiEnablingAnnotations.add(jakarta.ejb.Singleton.class.getName());
}

private static final List<String> excludedAnnotationTypes = new ArrayList<String>();
static {
// These are excluded because they are not scope annotations, and they cause the recursive
// analysis of parent annotations to continue infinitely because they reference each other,
// and in some cases, they reference themselves.
excludedAnnotationTypes.add(Documented.class.getName());
excludedAnnotationTypes.add(Retention.class.getName());
excludedAnnotationTypes.add(Target.class.getName());
}


/**
* Determine whether the specified archive is an implicit bean deployment archive.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright 2021 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -64,8 +65,6 @@ public class DeploymentCommandUtils {

final private static String COPY_IN_PLACE_ARCHIVE_PROP_NAME = "copy.inplace.archive";

private static final List<String> LIST_CONTAINING_DOMAIN = new ArrayList<String>(Arrays.asList(DeploymentUtils.DOMAIN_TARGET_NAME));

/**
* Replicates an enable or disable command to all instances in the cluster
* of which the target is a member. If the target is not cluster member
Expand Down

0 comments on commit 440f88c

Please sign in to comment.