DATACMNS-1672 - Fix code sample in documentation.
Add required parentheses to method call. Original pull request: #335.
This commit is contained in:
committed by
Mark Paluch
parent
1107351b6e
commit
092ab6df53
@@ -144,7 +144,7 @@ interface NamesOnly {
|
||||
String getLastname();
|
||||
|
||||
default String getFullName() {
|
||||
return getFirstname.concat(" ").concat(getLastname());
|
||||
return getFirstname().concat(" ").concat(getLastname());
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user