-
Notifications
You must be signed in to change notification settings - Fork 852
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
Spotless Java: Error with multiline strings with nested quotes #976
Comments
|
ReproBug.java
|
Thanks for the report! From the stack trace it looks like you're using https://github.com/palantir/palantir-java-format, but the crash is in shared code and it also reproduces with google-java-format: package com.mypackage;
public class ReproBug {
private String myString;
private ReproBug() {
String str =
"""
{"sourceEndpoint":"ri.something.1-1.object-internal.1","targetEndpoint":"ri.something.1-1.object-internal.2","typeId":"typeId"}""";
myString = str;
}
}
|
copybara-service bot
pushed a commit
that referenced
this issue
Oct 27, 2023
Fixes #976 PiperOrigin-RevId: 576940738
copybara-service bot
pushed a commit
that referenced
this issue
Oct 27, 2023
Fixes #976 PiperOrigin-RevId: 576940738
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stacktrace:
The text was updated successfully, but these errors were encountered: