Feature Envy
Opened this issue · 0 comments
schum476 commented
Occurs in MachineShopSimulator.java in lines 130-147; basically the issue is the location of the method moveToNextMachine. A more specific location of this is in line 131.
Fowler describes Feature Envy as a method that's more interested in a class that isn't where the method is actually located. Here, moveToNextMachine is located in the MachineShopSimulator class, but not within the Job class. However, most of the information that the method needs is being pulled from the Job class.
Medium Priority