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
12b9850a85
commit
48e49babe3
@@ -148,7 +148,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