Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up Help.java #3

Open
exKAZUu opened this issue Feb 15, 2014 · 0 comments
Open

Clean up Help.java #3

exKAZUu opened this issue Feb 15, 2014 · 0 comments

Comments

@exKAZUu
Copy link
Member

exKAZUu commented Feb 15, 2014

https://github.com/exKAZUu/ManekkoDance/blob/master/src/net/exkazuu/ManekkoDance/Help.java

  1. Change page variable to be a constant
  2. Use an assignment statement using an array instead of switch-case statement
    https://github.com/exKAZUu/ManekkoDance/blob/master/src/net/exkazuu/ManekkoDance/Help.java#L44-L69
  3. Create a method to remove code clone
    https://github.com/exKAZUu/ManekkoDance/blob/master/src/net/exkazuu/ManekkoDance/Help.java#L82-L107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants