Skip to content

Commit

Permalink
chore: updated documentation since accept no longer exists on JavaPac…
Browse files Browse the repository at this point in the history
…kage

Signed-off-by: Simon Verhoeven <[email protected]>
  • Loading branch information
SimonVerhoeven authored and codecholeric committed Oct 8, 2023
1 parent 066a671 commit 3ca046c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/userguide/007_The_Lang_API.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ ClassesTransformer<JavaPackage> packages = new AbstractClassesTransformer<JavaPa
@Override
public Iterable<JavaPackage> doTransform(JavaClasses classes) {
Set<JavaPackage> result = new HashSet<>();
classes.getDefaultPackage().accept(alwaysTrue(), new PackageVisitor() {
classes.getDefaultPackage().traversePackageTree(alwaysTrue(), new PackageVisitor() {
@Override
public void visit(JavaPackage javaPackage) {
result.add(javaPackage);
Expand Down
2 changes: 1 addition & 1 deletion docs/userguide/html/000_Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ <h3 id="_rules_with_custom_concepts"><a class="anchor" href="#_rules_with_custom
@Override
public Iterable&lt;JavaPackage&gt; doTransform(JavaClasses classes) {
Set&lt;JavaPackage&gt; result = new HashSet&lt;&gt;();
classes.getDefaultPackage().accept(alwaysTrue(), new PackageVisitor() {
classes.getDefaultPackage().traversePackageTree(alwaysTrue(), new PackageVisitor() {
@Override
public void visit(JavaPackage javaPackage) {
result.add(javaPackage);
Expand Down

0 comments on commit 3ca046c

Please sign in to comment.