mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-21 08:26:16 +00:00
squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding
This commit is contained in:
@@ -71,6 +71,6 @@ public final class Dispatcher {
|
||||
}
|
||||
|
||||
private void dispatchAction(Action action) {
|
||||
stores.stream().forEach((store) -> store.onAction(action));
|
||||
stores.stream().forEach(store -> store.onAction(action));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,6 +44,6 @@ public abstract class Store {
|
||||
}
|
||||
|
||||
protected void notifyChange() {
|
||||
views.stream().forEach((view) -> view.storeChanged(this));
|
||||
views.stream().forEach(view -> view.storeChanged(this));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user