From 3ca046cbf87da5bbaf593b6387c95c2765623e96 Mon Sep 17 00:00:00 2001 From: Simon Verhoeven Date: Sun, 16 Jul 2023 11:21:46 +0200 Subject: [PATCH] chore: updated documentation since accept no longer exists on JavaPackage Signed-off-by: Simon Verhoeven --- docs/userguide/007_The_Lang_API.adoc | 2 +- docs/userguide/html/000_Index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/userguide/007_The_Lang_API.adoc b/docs/userguide/007_The_Lang_API.adoc index 18bf1210a0..e472d3c800 100644 --- a/docs/userguide/007_The_Lang_API.adoc +++ b/docs/userguide/007_The_Lang_API.adoc @@ -278,7 +278,7 @@ ClassesTransformer packages = new AbstractClassesTransformer doTransform(JavaClasses classes) { Set result = new HashSet<>(); - classes.getDefaultPackage().accept(alwaysTrue(), new PackageVisitor() { + classes.getDefaultPackage().traversePackageTree(alwaysTrue(), new PackageVisitor() { @Override public void visit(JavaPackage javaPackage) { result.add(javaPackage); diff --git a/docs/userguide/html/000_Index.html b/docs/userguide/html/000_Index.html index eb148fe573..0fb590b4ea 100644 --- a/docs/userguide/html/000_Index.html +++ b/docs/userguide/html/000_Index.html @@ -1606,7 +1606,7 @@