File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
spring-javaformat/spring-javaformat-formatter/src/main/java/io/spring/javaformat/formatter Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public boolean hasEdits() {
4545 return (this .textEdit .hasChildren () || this .textEdit .getLength () > 0 );
4646 }
4747
48- protected String getFormattedContent () throws Exception {
48+ public String getFormattedContent () throws Exception {
4949 IDocument document = new Document (this .originalContent );
5050 this .textEdit .apply (document );
5151 String formattedContent = document .get ();
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public void save() {
5656 }
5757
5858 @ Override
59- protected String getFormattedContent () throws Exception {
59+ public String getFormattedContent () throws Exception {
6060 try {
6161 return super .getFormattedContent ();
6262 }
You can’t perform that action at this time.
0 commit comments