Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 539c666

Browse files
authored
Merge pull request #6 from ebourg/patch-1
Compatibility with the latest versions of Qdox
2 parents 4fea8b6 + 1680076 commit 539c666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/gleaner/QDoxComponentGleaner.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ private String findRole( JavaClass javaClass )
244244
// Remove any Plexus specific interfaces from the calculation
245245
// ----------------------------------------------------------------------
246246

247-
List<JavaClass> interfaces = new ArrayList<JavaClass>( javaClass.getImplementedInterfaces() );
247+
List<JavaClass> interfaces = new ArrayList<JavaClass>( javaClass.getInterfaces() );
248248

249249
for ( Iterator<JavaClass> it = interfaces.iterator(); it.hasNext(); )
250250
{
@@ -518,4 +518,4 @@ private String getParameter( Map<String, String> parameters, String parameter )
518518

519519
return value;
520520
}
521-
}
521+
}

0 commit comments

Comments
 (0)