Nantes Université

Skip to content

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

Code smells in file :

  • Unnecessary qualifier 'JFrame': 'WindowConstants::EXIT_ON_CLOSE' is already in scope because it is inherited by an enclosing type : line 85
  • Unnecessary qualifier 'IFortificationView': 'ACTION_MOVE' is already in scope because it is inherited by an enclosing type : line 116
  • Unnecessary qualifier 'IFortificationView': 'ACTION_SAVE' is already in scope because it is inherited by an enclosing type : line 119
  • Unnecessary qualifier 'IFortificationView': 'ACTION_NEXT' is already in scope because it is inherited by an enclosing type : line 122
  • Avoid unused local variables such as 'smallFont' : line 141
  • Unnecessary qualifier 'IFortificationView': 'ACTION_FROM_COUNTRY_CHANGED' is already in scope because it is inherited by an enclosing type : line 266
  • Unnecessary qualifier 'IFortificationView':'ACTION_ITEM_FROM_COUNTRY_CHANGED' is already in scope because it is inherited by an enclosing type : line 267