Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2fd9a18

Browse files
author
Shiwani Gupta
authoredSep 28, 2024··
Merge pull request #10 from jeddict/dev
Skip saveOpenEditor()
2 parents a188abc + 5a06782 commit 2fd9a18

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed
 

‎src/main/java/io/github/jeddict/ai/fix/ExpressionFix.java

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ protected void performRewrite(JavaFix.TransformationContext tc) throws Exception
5252
if (copy.toPhase(JavaSource.Phase.RESOLVED).compareTo(JavaSource.Phase.RESOLVED) < 0) {
5353
return;
5454
}
55-
saveOpenEditor();
5655

5756
Tree leaf = treePath.getLeaf();
5857
String content;

‎src/main/java/io/github/jeddict/ai/fix/MethodFix.java

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ protected void performRewrite(JavaFix.TransformationContext tc) throws Exception
6868
if (copy.toPhase(JavaSource.Phase.RESOLVED).compareTo(JavaSource.Phase.RESOLVED) < 0) {
6969
return;
7070
}
71-
saveOpenEditor();
7271

7372
TreePath treePath = tc.getPath();
7473
Tree leaf = treePath.getLeaf();

‎src/main/java/io/github/jeddict/ai/fix/RestEndpointFix.java

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ protected void performRewrite(JavaFix.TransformationContext tc) throws Exception
5050
if (copy.toPhase(JavaSource.Phase.RESOLVED).compareTo(JavaSource.Phase.RESOLVED) < 0) {
5151
return;
5252
}
53-
saveOpenEditor();
5453

5554
TreePath treePath = tc.getPath();
5655
Tree leaf = treePath.getLeaf();

‎src/main/java/io/github/jeddict/ai/fix/TextFix.java

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ protected void performRewrite(JavaFix.TransformationContext tc) throws Exception
4747
if (copy.toPhase(JavaSource.Phase.RESOLVED).compareTo(JavaSource.Phase.RESOLVED) < 0) {
4848
return;
4949
}
50-
saveOpenEditor();
5150

5251
Tree leaf = treePath.getLeaf();
5352
if (leaf.getKind() != STRING_LITERAL) {

‎src/main/java/io/github/jeddict/ai/fix/VariableFix.java

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ protected void performRewrite(JavaFix.TransformationContext tc) throws Exception
6060
if (copy.toPhase(JavaSource.Phase.RESOLVED).compareTo(JavaSource.Phase.RESOLVED) < 0) {
6161
return;
6262
}
63-
saveOpenEditor(); // Assuming this is implemented elsewhere
6463

6564
TreePath treePath = tc.getPath();
6665
Tree leaf = treePath.getLeaf();

0 commit comments

Comments
 (0)
Please sign in to comment.