File tree 2 files changed +2
-2
lines changed
spring-javaformat/spring-javaformat-formatter/src/main/java/io/spring/javaformat/formatter
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public boolean hasEdits() {
45
45
return (this .textEdit .hasChildren () || this .textEdit .getLength () > 0 );
46
46
}
47
47
48
- protected String getFormattedContent () throws Exception {
48
+ public String getFormattedContent () throws Exception {
49
49
IDocument document = new Document (this .originalContent );
50
50
this .textEdit .apply (document );
51
51
String formattedContent = document .get ();
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public void save() {
56
56
}
57
57
58
58
@ Override
59
- protected String getFormattedContent () throws Exception {
59
+ public String getFormattedContent () throws Exception {
60
60
try {
61
61
return super .getFormattedContent ();
62
62
}
You can’t perform that action at this time.
0 commit comments