Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351742 - Refactor XMLStreamReaderReader, XMLEventReaderReader, and JSONReader to share Attributes implementations
Summary: Refactor XMLStreamReaderReader, XMLEventReaderReader, and JSONReader to share...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 14:21 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:22 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (24.29 KB, patch)
2011-07-11 14:23 EDT, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2011-07-11 14:21:11 EDT
Currently XMLStreamReaderReader, XMLEventReaderReader, and JSONReader all have similar code to implement Attributes.  This code should be refactored so the logic can be shared.
Comment 1 Blaise Doughan CLA 2011-07-11 14:23:36 EDT
Created attachment 199437 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2011-07-11 14:40:43 EDT
Fix checked into trunk at rev:  9710

Code reviewed by:  Matt MacIvor

Fix Details:
Moved the majority of the Attribute handling that is common to all readers up to the XMLReaderAdapter class.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:22:14 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink