Skip to content
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

Long string concat gets turned into bad code #8

Open
verdverm opened this issue Jan 24, 2023 · 0 comments
Open

Long string concat gets turned into bad code #8

verdverm opened this issue Jan 24, 2023 · 0 comments
Labels
upstream Upstream package error

Comments

@verdverm
Copy link

verdverm commented Jan 24, 2023

-    fooHelp = fooHelpBase +
-      "\n\n===============   fooRendered   ==============\n" + fooRendered.replaceAll("\t", "  ") +
-      "\n\n===============   fooEnriched   ==============\n" + fooEnriched.replaceAll("\t", "  ") +
-      "\n\n===============   fooOptions    ==============\n" + fooOptions.replaceAll("\t", "  ")
+    fooHelp = fooHelpBase + "\n\n===============   fooRendered   ==============\n" 
+      + fooRendered.replaceAll("\t", "  ") + "\n\n===============   fooEnriched   ==============\n" 
+      + fooEnriched.replaceAll("\t", "  ") + "\n\n===============   fooOptions    ==============\n" 
+      + fooOptions.replaceAll("\t", "  ")

The formatted code has the space at the end of the line issue too

Jenkins yelled at me:

hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument 
@Airkro Airkro added the upstream Upstream package error label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Upstream package error
Development

No branches or pull requests

2 participants