Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 392066 - add toString method to XMLMemento
Summary: add toString method to XMLMemento
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.3 M3   Edit
Assignee: Brian de Alwis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-16 09:50 EDT by Christian Pontesegger CLA
Modified: 2013-05-27 11:41 EDT (History)
2 users (show)

See Also:


Attachments
toString patch (31.34 KB, patch)
2012-10-16 09:50 EDT, Christian Pontesegger CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pontesegger CLA 2012-10-16 09:50:28 EDT
Created attachment 222403 [details]
toString patch

I'd like to see an implementation for toString() for XMLMemento that returns the XML content.

If acceptable I added an appropriate patch for this.
Comment 1 Brian de Alwis CLA 2012-10-25 10:41:48 EDT
I remember wanting this a couple of years ago.  Thanks!

BTW: Please don't reformat code -- your patch was bigger than the file itself :-)

Committed to master: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=f67a21e05ad34b4c494893e4c98618baabe62468
Comment 2 Curtis Windatt CLA 2013-05-27 11:41:57 EDT
Verified in I20130526-2000