squid:S2325 - private methods that don't access instance data should be static

This commit is contained in:
Mohammed Ezzat committed 2016-02-22 19:15:51 +02:00
1 parent c580b61df3
commit 3791a80978
6 files changed
+8 -8

No files matched your search

@@ -60,7 +60,7 @@ public class DwarvenGoldmineFacade {
makeActions(workers, DwarvenMineWorker.Action.GO_HOME, DwarvenMineWorker.Action.GO_TO_SLEEP);
}
private void makeActions(Collection<DwarvenMineWorker> workers,
private static void makeActions(Collection<DwarvenMineWorker> workers,
DwarvenMineWorker.Action... actions) {
for (DwarvenMineWorker worker : workers) {
worker.action(actions);