mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 04:59:24 +00:00
[refactor] Extends Action enum in mediator pattern.
This commit is contained in:
@@ -10,7 +10,7 @@ import java.util.List;
|
||||
*/
|
||||
public class PartyImpl implements Party {
|
||||
|
||||
private List<PartyMember> members;
|
||||
private final List<PartyMember> members;
|
||||
|
||||
public PartyImpl() {
|
||||
members = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user