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

Lint warnings #8

Closed
smarek opened this issue Nov 30, 2012 · 1 comment
Closed

Lint warnings #8

smarek opened this issue Nov 30, 2012 · 1 comment

Comments

@smarek
Copy link

smarek commented Nov 30, 2012

Hi,

I've just cloned master to see if it could work as I need, and I got several warnings, so if you could please resolve why it is done this way.

  1. Not needed @SuppressWarnings in Switch.java:99
99:    @SuppressWarnings("hiding")
100:    private final Rect mTempRect = new Rect();
  1. Unused boolean private member mSendClickAccessibilityEvent in TwoStatePreference.java:49
49:    private boolean mSendClickAccessibilityEvent;
...
73:    mSendClickAccessibilityEvent = true;

as far as this member is private, and only one assignment is done in onClick() and no further use, it is probably just leftover

@BoD
Copy link
Owner

BoD commented Dec 1, 2012

I just pushed a fix for these (and other) warnings.

@BoD BoD closed this as completed Dec 1, 2012
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