mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 10:15:44 +00:00
squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding
This commit is contained in:
1 parent
ab19c47415
commit
046e131119
10 files changed
+13
-13
No files matched your search
@@ -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