mirror of
https://github.com/apache/openjpa.git
synced 2025-03-06 08:29:08 +00:00
OPENJPA-1662: Save a runtime typecast.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b5fa5152a
commit
f1c1c78787
@ -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…
x
Reference in New Issue
Block a user