Skip to content

Commit eb75804

Browse files
authored
fix: Ignore CDI related classes when finding component location (#20405)
Fixes vaadin/copilot#48
1 parent 731212e commit eb75804

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎flow-server/src/main/java/com/vaadin/flow/component/internal/ComponentTracker.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public class ComponentTracker {
5252
private static String[] prefixesToSkip = new String[] {
5353
"com.vaadin.flow.component.", "com.vaadin.flow.di.",
5454
"com.vaadin.flow.dom.", "com.vaadin.flow.internal.",
55-
"com.vaadin.flow.spring.", "java.", "jdk.",
56-
"org.springframework.beans.", };
55+
"com.vaadin.flow.spring.", "com.vaadin.cdi.", "java.", "jdk.",
56+
"org.springframework.beans.", "org.jboss.weld.", };
5757

5858
/**
5959
* Represents a location in the source code.

0 commit comments

Comments
 (0)