mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 16:15:23 +00:00
Merge pull request #323 from DevFactory/code-quality-fix-5
Code quality fixes
This commit is contained in:
commit
7c6e1fc3d8
5 files changed
+9
-9
No files matched your search
@@ -19,7 +19,7 @@ public class PartyImpl implements Party {
|
||||
@Override
|
||||
public void act(PartyMember actor, Action action) {
|
||||
for (PartyMember member : members) {
|
||||
if (member != actor) {
|
||||
if (!member.equals(actor)) {
|
||||
member.partyAction(action);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user