squid:S2325 - private methods that don't access instance data should be static
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user