Hotel-Management-Project-Java
Hotel-Management-Project-Java copied to clipboard
Code Smells
Switch Statement
I found a switch on the bookroom method wich is too large
You can solve it applying the Replace Type Code with State/Strategy refactoring
Dead Code
On the class Singleroom you have a parameter which is not used by the class
You can solve it applying Remove Parameter refactoring
Large Class
The class Hotel is too large and has too many responsabilities. More than 5 methods.
You can solve it creating new classes and group those methods
