From 06258ca66e699989f78b32a665934e9d2c7547fd Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Wed, 4 Jun 2025 19:49:44 +0200 Subject: [PATCH] GH-2338 - Fix code sample in reference documentation. --- src/main/asciidoc/client.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/client.adoc b/src/main/asciidoc/client.adoc index 7f33d372..fd8a5464 100644 --- a/src/main/asciidoc/client.adoc +++ b/src/main/asciidoc/client.adoc @@ -62,7 +62,7 @@ You can do so with only one slight tweak, as the following example shows: [source,java, tabsize=2] ---- CollectionModelType collectionModelType = - TypeReferences.CollectionModelType() {}; + new TypeReferences.CollectionModelType() {}; CollectionModel itemResource = traverson.// follow(rel("items")).//