mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 07:13:02 +00:00
rem space
This commit is contained in:
1 parent
8f85353baf
commit
74c7273381
1 file changed
+1
-1
@@ -43,6 +43,6 @@ public class InvestorRole extends CustomerRole {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String invest() {
|
public String invest() {
|
||||||
return String.format("Investor %s has invested %d dollars", name, amountToInvest);
|
return String.format("Investor %s has invested %d dollars", name, amountToInvest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user