While in new version (RECODER 0.95c), PrettyPrinter is really improved. (Thanks for that).
However, there is still a bug.
It happens when “/ /” is repeated in more than one line. In below you can see a method before loading to the memory and after it was written back as source code.
original source code:
public Jtar()
/******/
/ Function name: Jtar /
/Purpose: Constructor for the Jtar class*/
/ Parameters : /
/*Returns : /
/*******/
{
}
After written back as source code:
public Jtar
/******/
/ Function name: Jtar /
/Purpose: Constructor for the Jtar class*/
/ Parameters : /()
/*Returns : /
/*******/
{
}
As it is shown "round brackets" are added in the middle of comments.
The problem only happens if class contains the element is refactored before written back to the source code.