From c49a31ff78c262ff58b2df3594b9f9fa59f3dd66 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Wed, 4 Jun 2025 19:49:44 +0200 Subject: [PATCH] GH-2330 - 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")).//