Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus authored Nov 14, 2024
1 parent 0c96b41 commit 45efb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ new AstComparator().compare((File) f, (File) f2);
new AstComparator().compare((String) s1, (String) s2);
```

By default, the current version of Gumtree Spoon AST Diff uses the novel AST matcher called `SimpleGumTree`. However, the API provides the possibility to change it: The mentioned `compare` methods can also receive the configuration of the AST diff algorithm.
Gumtree Spoon AST Diff uses the AST matcher called `SimpleGumtree` since Sep 2023. Ihe API `setMatcher` provides the possibility to change it: The mentioned `compare` methods can be configured accordingly, as in the following example.

```java
AstComparator comp = new AstComparator();
Expand Down

0 comments on commit 45efb82

Please sign in to comment.