]
George Gastaldi closed ROASTER-74.
----------------------------------
Assignee: Shoji Kuzukami
Fix Version/s: 2.14.1.Final
Resolution: Done
It's better for precise operation that the source code writer
retains original spaces
--------------------------------------------------------------------------------------
Key: ROASTER-74
URL:
https://issues.jboss.org/browse/ROASTER-74
Project: Roaster
Issue Type: Enhancement
Components: JDT
Affects Versions: 2.x Future
Environment: Win 8.1 Pro 64bit, Eclipse Mars 64bit, Java 8
Reporter: Shoji Kuzukami
Assignee: Shoji Kuzukami
Fix For: 2.14.1.Final
I want to verify a source code modified by the 'roast' by using a diff based
utility because the modification can unexpectedly break the semantics of original source
code by any bugs of the library.
But the code writer #toString() in roaster writes a 'formatted' source code
removing some white spaces in the original. So the diff utility cannot be simply applied.
It's better that the source code writer emits such a code that the original code is
minimally operated as well as it can, because the roaster formatter can be used
independently by calling Formatter.format(String).
Although this is a design-concept issue of this project, it's happy for me that the
pull-request following is accepted.