Browse Source

DATACMNS-1672 - Fix code sample in documentation.

Add required parentheses to method call.

Original pull request: #335.
pull/433/head
Zed Spencer-Milnes 7 years ago committed by Mark Paluch
parent
commit
48e49babe3
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

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

Loading…
Cancel
Save