-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
Resolves: #1
/** | ||
* Stops the GamePadManager (stops the SDL thread in the native lib). | ||
* | ||
* Note: waits for the the SDL thread to finish. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useless @note
* | ||
* Note: waits for the the SDL thread to finish. | ||
* | ||
* @return True if stopped, false if not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description could be clearer. E.g. true if successfully stopped. Now it reads as if it is possible it will keep running or smth
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also @code
should be used here. I'll create an issue.
It's an okay start but since a refactor is necessary I don't see the added value in this PR |
One thing at a time. |
Codacy remarked two issues: * Unscoped field `gamePadManager` which could also have been local * Empty method body `Main#onGamePadError(String error)`
cf19118
to
3932577
Compare
|
||
/// Value of the enumeration. | ||
private final int value; | ||
/// Value of the enumeration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these type of comments don't conform to the google style
* | ||
* @param value The value of the controller axis. | ||
*/ | ||
GamePadAxis(int value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm guessing these should be explicitly public
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now it's package private right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You guys know this is the only possible scope (implicitly private) for enum constructors in java?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ssst
Touches: #4
692c52d
to
da06205
Compare
Resolves: #3
da06205
to
e0ea718
Compare
Resolves: #5
Resolves: #1