Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Nov 3, 2024
1 parent 882931e commit fef2ec3
Showing 1 changed file with 2 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.context.Dependent;
Expand Down Expand Up @@ -218,7 +217,7 @@ void buildDevelopmentInitParams(BuildProducer<ServletInitParamBuildItem> initPar
* annotations for {@link jakarta.enterprise.context.ApplicationScoped} and {@link io.quarkus.runtime.Startup}.
*/
@BuildStep
AnnotationsTransformerBuildItem transformBeanScope(CombinedIndexBuildItem combinedIndex) {
AnnotationsTransformerBuildItem transformBeanScope() {

return new AnnotationsTransformerBuildItem(new AnnotationsTransformer() {
@Override
Expand Down Expand Up @@ -302,24 +301,4 @@ public List<String> collectClassesInPackage(CombinedIndexBuildItem combinedIndex
}
return classes;
}

private List<String> collectSubclasses(CombinedIndexBuildItem combinedIndex, String className) {
List<String> classes = combinedIndex.getIndex()
.getAllKnownSubclasses(DotName.createSimple(className))
.stream()
.map(ClassInfo::toString)
.collect(Collectors.toList());
classes.add(className);
return classes;
}

public List<String> collectImplementors(CombinedIndexBuildItem combinedIndex, String className) {
List<String> classes = combinedIndex.getIndex()
.getAllKnownImplementors(DotName.createSimple(className))
.stream()
.map(ClassInfo::toString)
.collect(Collectors.toList());
classes.add(className);
return classes;
}
}
}

0 comments on commit fef2ec3

Please sign in to comment.