-
-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
review: refactor: use LiteralHelper in DefaultJavaPrettyPrinter #1529
Conversation
It is ready for merge. Note that LiteralHelper was made public, because it is used by PrinterHelper and DefaultJavaPrettyPrinter, which are in different packages. |
Interesting. This shows that class DJPP and the helpers should be in the same package. Since package |
It is misunderstanding. Package Note in future I will suggest to mark all these usages in PrinterHelper deprecated, so later helpers will be really used only from DJPP. But it is really not the case now. |
It is misunderstanding. Package |printer| is not new.
It's a misunderstanding :-) I know that printer is not new. I propose to remove it and move the
classes in the same package as DJPP so as to keep/restore package-visibility of the helper classes.
…--Martin
|
Did I understood well, that you suggest to move class PrinterHelper into same package like DJPP? |
Yes, this is what I mean.
This breaks compatibility, but PrinterHelper was never meant (or documented) to be part of the
public API.
|
027377d
to
0b78b6d
Compare
Revapi Analysis resultsOld API: fr.inria.gforge.spoon:spoon-core:jar:6.0.0-20170916.224509-20 New API: fr.inria.gforge.spoon:spoon-core:jar:6.0.0-SNAPSHOT Detected changes: 4. Change 1
Change 2
Change 3
Change 4
|
The helpers were moved to the package of DJPP so they can stay package protected. |
OK for me, thanks. Will merge tomorrow if everybody agrees. |
Next baby step to the #1494