Nantes Université

Skip to content

Project-Risk-A : refactor com/risk/view/impl/swing/SwingReinforcementView.java

Code smells in file :

  • Avoid unused private fields such as 'listOfCountriesLabel' : line 66
  • Avoid unused private fields such as 'percentage' : line 78
  • Avoid unused private fields such as 'colors' : line 79
  • Unnecessary qualifier 'JFrame': 'WindowConstants::EXIT_ON_CLOSE' is already in scope because it is inherited by an enclosing type : line 89
  • Unnecessary qualifier 'IReinforcementView': 'ACTION_ADD_MORE' is already in scope because it is inherited by an enclosing type : line 95
  • Unnecessary qualifier 'IReinforcementView': 'ACTION_EXIT_CARD' is already in scope because it is inherited by an enclosing type : line 98
  • Unnecessary qualifier 'IReinforcementView': 'ACTION_SAVE' is already in scope because it is inherited by an enclosing type : line 101
  • Unnecessary qualifier 'IReinforcementView': 'ACTION_ADD' is already in scope because it is inherited by an enclosing type : line 129
  • Avoid unused local variables such as 'mediumFont' : line 151
  • Avoid unused local variables such as 'smallFont' : line 152