* fixed checking for missing "override" for Java code

git-svn-id: branches/jvmbackend@18438 -
This commit is contained in:
Jonas Maebe 2011-08-20 07:59:35 +00:00
parent 30d9fdb0af
commit fc2d239f95

View File

@ -284,9 +284,8 @@ implementation
(is_objccategory(_class) and
not(po_reintroduce in pd.procoptions)) or
{ new one does not have override in case of objpas/objc/java class/intf/proto }
((is_class_or_interface_or_objc(_class) or is_objectpascal_helper(_class)) and
((is_class_or_interface_or_objc_or_java(_class) or is_objectpascal_helper(_class)) and
not is_objccategory(_class) and
not is_java_class_or_interface(_class) and
not(po_overridingmethod in pd.procoptions)
)
)