summaryrefslogtreecommitdiff
path: root/core/java/android/widget/CompoundButton.java
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2016-05-10 09:46:09 -0700
committerIan Rogers <irogers@google.com>2016-05-10 09:46:09 -0700
commit81c18e6f9985a3996df5e0f2ae3a38d78263103e (patch)
tree8ae86093cae5dd907c8b396a3a5ffb0d1d84588f /core/java/android/widget/CompoundButton.java
parent57091f7a8bb31520a8edc0280b5f556c23d169a0 (diff)
Remove @Nullable from primitive/void types.
Erroneous use of @Nullable caught by error prone. Bug: 27723540 Change-Id: Ida76b2fd221142980da5c018e57c96cc6920ebc0
Diffstat (limited to 'core/java/android/widget/CompoundButton.java')
-rw-r--r--core/java/android/widget/CompoundButton.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/widget/CompoundButton.java b/core/java/android/widget/CompoundButton.java
index 5d7585f9d9e8..03578342bbed 100644
--- a/core/java/android/widget/CompoundButton.java
+++ b/core/java/android/widget/CompoundButton.java
@@ -221,7 +221,6 @@ public abstract class CompoundButton extends Button implements Checkable {
* @param drawable the drawable to set
* @attr ref android.R.styleable#CompoundButton_button
*/
- @Nullable
public void setButtonDrawable(@Nullable Drawable drawable) {
if (mButtonDrawable != drawable) {
if (mButtonDrawable != null) {