Skip to content

Conversation

@RaiBishal
Copy link
Contributor

Fixed some checkstyle warnings

return fMenu;
}

@SuppressWarnings("checkstyle:magicnumber")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the wrong way to get rid of the warning. It's complaining about

accelerator < 10

and that's not clear to me. Why 10 rather than 9 or 11? I would much rather make the 10 a constant with a name that tells me what it does.

RaiBishal and others added 2 commits June 5, 2020 09:32
@Tom-Willemsen Tom-Willemsen merged commit 909fc75 into master Jun 8, 2020
@Tom-Willemsen Tom-Willemsen deleted the Fix_checkstyle_warnings branch June 8, 2020 13:04
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

Successfully merging this pull request may close these issues.

3 participants