Browse Source

DATACMNS-1672 - Fix code sample in documentation.

Add required parentheses to method call.

Original pull request: #335.
2.1.x
Zed Spencer-Milnes 7 years ago committed by Mark Paluch
parent
commit
092ab6df53
No known key found for this signature in database
GPG Key ID: 51A00FA751B91849
  1. 2
      src/main/asciidoc/repository-projections.adoc

2
src/main/asciidoc/repository-projections.adoc

@ -144,7 +144,7 @@ interface NamesOnly { @@ -144,7 +144,7 @@ interface NamesOnly {
String getLastname();
default String getFullName() {
return getFirstname.concat(" ").concat(getLastname());
return getFirstname().concat(" ").concat(getLastname());
}
}
----

Loading…
Cancel
Save