@@ -55,15 +55,15 @@ private void initializeIvars(Set<Class<?>> annotatedSet) {
55
55
56
56
for (DocumentInfo docInfo : documentInfos ) {
57
57
58
- URI sourceURI = docInfo .getSourceURI ();
59
- Matcher jarMatcher = FACES_CONFIG_XML_IN_JAR_PATTERN .matcher (sourceURI == null ? "" : sourceURI .toString ());
58
+ URI facesConfigURI = docInfo .getSourceURI ();
59
+ Matcher jarMatcher = FACES_CONFIG_XML_IN_JAR_PATTERN .matcher (facesConfigURI == null ? "" : facesConfigURI .toString ());
60
60
61
61
if (jarMatcher .matches ()) {
62
62
String jarName = jarMatcher .group (2 );
63
63
if (!jarNames .contains (jarName )) {
64
64
FacesConfigInfo configInfo = new FacesConfigInfo (docInfo );
65
65
if (!configInfo .isMetadataComplete ()) {
66
- uris .add (sourceURI );
66
+ uris .add (facesConfigURI );
67
67
jarNames .add (jarName );
68
68
} else {
69
69
/*
@@ -74,12 +74,12 @@ private void initializeIvars(Set<Class<?>> annotatedSet) {
74
74
* annotatedSet because the faces-config.xml that owns it has metadata-complete="true".
75
75
*/
76
76
ArrayList <Class <?>> toRemove = new ArrayList <>(1 );
77
- String sourceURIString = sourceURI .toString ();
77
+ String facesConfigURIString = facesConfigURI .toString ();
78
78
if (annotatedSet != null ) {
79
79
for (Class <?> clazz : annotatedSet ) {
80
- String location = CURRENT_RESOURCE_IN_JAR_PATTERN .split (clazz .getResource ("." ).toString (), 2 )[0 ];
80
+ String jarURIString = CURRENT_RESOURCE_IN_JAR_PATTERN .split (clazz .getResource ("." ).toString (), 2 )[0 ];
81
81
82
- if (sourceURIString .startsWith (location )) {
82
+ if (facesConfigURIString .startsWith (jarURIString )) {
83
83
toRemove .add (clazz );
84
84
}
85
85
}
0 commit comments