Bug 202267 - Annotation.toString() should include non-empty annotations only
Summary: Annotation.toString() should include non-empty annotations only
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: OHF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Bence Oláh CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-09-05 08:51 EDT by Zsolt Török CLA
Modified: 2012-01-05 13:31 EST (History)
0 users

See Also:


Attachments
Patch for the bug. (2.81 KB, patch)
2007-09-05 09:05 EDT, Bence Oláh CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt Török CLA 2007-09-05 08:51:22 EDT
The toString() method currently returns something like this:

"Definition:  
Description:  
Rationale:  
Requirements:  
Other annotation: A link to the component(s) of the structured body. 
Appendix:  
Usage notes:  
Walkthrough:  
Mapping:  
Constraint: <?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
                        <p>NPFIT-000001#Section</p>
                    </html> 
Open issues:  
Design comments:  
Static examples:  
Ballot comments:  
Change requests:  
Deprecation info: "

Expected return value:

"Other annotation: A link to the component(s) of the structured body. 
Constraint: <?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
                        <p>NPFIT-000001#Section</p>
                    </html>"
Comment 1 Bence Oláh CLA 2007-09-05 09:05:09 EDT
Created attachment 77720 [details]
Patch for the bug.

Patch for the bug.
Comment 2 Zsolt Török CLA 2007-09-05 09:12:07 EDT
Tested and committed Bence Olah's patch.