mirror of https://github.com/apache/openjpa.git
OPENJPA-1965: Back ported Rick's 2.1.x changes to 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1161363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1d2d1ff953
commit
21e2d82e2c
|
@ -204,7 +204,9 @@ public class AnnotationProcessor6 extends AbstractProcessor {
|
|||
if (active && !roundEnv.processingOver()) {
|
||||
Set<? extends Element> elements = roundEnv.getRootElements();
|
||||
for (Element e : elements) {
|
||||
process((TypeElement) e);
|
||||
if (e instanceof TypeElement) {
|
||||
process((TypeElement) e);
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue