Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316998 - JPA2: Metamodel ManagedTypeImpl should use isMethodAttributeAccessor instead of instanceof
Summary: JPA2: Metamodel ManagedTypeImpl should use isMethodAttributeAccessor instead ...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on: 266912
Blocks:
  Show dependency tree
 
Reported: 2010-06-15 23:19 EDT by Michael OBrien CLA
Modified: 2022-06-09 10:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2010-06-15 23:19:32 EDT
>ManagedTypeImpl should avoid instanceof
        if(mapping.getAttributeAccessor() instanceof MethodAttributeAccessor) {
>and be like Attribute where the direct boolean return is used
        if (accessor.isMethodAttributeAccessor()) {
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:24:53 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink