Skip to content

Commit c49a31f

Browse files
committed
GH-2330 - Fix code sample in reference documentation.
1 parent 192764d commit c49a31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/client.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You can do so with only one slight tweak, as the following example shows:
6262
[source,java, tabsize=2]
6363
----
6464
CollectionModelType<Item> collectionModelType =
65-
TypeReferences.CollectionModelType<Item>() {};
65+
new TypeReferences.CollectionModelType<Item>() {};
6666
6767
CollectionModel<Item> itemResource = traverson.//
6868
follow(rel("items")).//

0 commit comments

Comments
 (0)