Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Pinčuk <alexander.v.pinchuk@gmail.com>
  • Loading branch information
avpinchuk committed Jan 8, 2024
1 parent b0f2095 commit 724420e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
@@ -1,4 +1,5 @@
/*
* Copyright (c) 2024 Contributors to the Eclipse Foundation.
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand All @@ -23,8 +24,6 @@
import org.glassfish.api.deployment.archive.ReadableArchive;
import org.glassfish.internal.api.ClassLoaderHierarchy;

import java.lang.instrument.ClassFileTransformer;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.net.URISyntaxException;
Expand Down Expand Up @@ -52,13 +51,6 @@ public enum Phase { UNKNOWN, PREPARE, PREPARED, LOAD, START, STOP, UNLOAD, CLEAN

public Phase getPhase();

/**
* Returns the list of transformers registered to this context.
*
* @return the transformers list
*/
public List<ClassFileTransformer> getTransformers();

/**
* Create the deployment class loader. It will be used for sniffer
* retrieval, metadata parsing and deployer prepare.
Expand Down
Expand Up @@ -91,7 +91,6 @@ public class DeploymentContextImpl implements ExtendedDeploymentContext, PreDest
ArchiveHandler archiveHandler;
Properties props;
Map<String, Object> modulesMetaData = new HashMap<>();
List<ClassFileTransformer> transformers = new ArrayList<>();
Phase phase = Phase.UNKNOWN;
ClassLoader sharableTemp;
Map<String, Properties> modulePropsMap = new HashMap<>();
Expand Down Expand Up @@ -421,16 +420,6 @@ public void addTransformer(ClassFileTransformer transformer) {
instrumentableClassLoader.addTransformer(reentrantTransformer);
}

/**
* Returns the list of transformers registered to this context.
*
* @return the transformers list
*/
@Override
public List<ClassFileTransformer> getTransformers() {
return transformers;
}

@Override
public List<URI> getAppLibs() throws URISyntaxException {
List<URI> libURIs = new ArrayList<>();
Expand Down

0 comments on commit 724420e

Please sign in to comment.