-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
fix: Remove escaping of ' in a CtLiteral<String> #5070
Conversation
This is only relevant for CtLiterals without a position. In strings escaping ' is not necessary.
I could create another method overload(1) to fix the constant value warning. But this would increase the size of the class unnecessary. Any opinions? (1) Actually this is not a method overload because the methods are static |
The method seems to be package private, why do you need to keep it if it is never called? |
I thought about the one guy creating his code inside the same package in his project. I can remove this method if we ignore that one guy. |
Yes, I would ignore them. |
8d035c0
to
62b9300
Compare
Currently, spoon escapes every
'
in aCtLiteral<String>
without a source position. In astring
escaping'
is not necessary.