summaryrefslogtreecommitdiffstats
path: root/src/com/android/bluetooth/gatt/HandleMap.java
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2016-03-16 14:08:39 -0700
committerPavlin Radoslavov <pavlin@google.com>2016-05-19 22:54:00 +0000
commit00a378afa5d8de9eadae15ab578baa2058b614ce (patch)
treeb862be434ceaabd3166d7beea32dd3197ca65e5d /src/com/android/bluetooth/gatt/HandleMap.java
parentd827bc7300e381ee6a3241697e6013406203892c (diff)
downloadandroid_packages_apps_Bluetooth-00a378afa5d8de9eadae15ab578baa2058b614ce.tar.gz
android_packages_apps_Bluetooth-00a378afa5d8de9eadae15ab578baa2058b614ce.tar.bz2
android_packages_apps_Bluetooth-00a378afa5d8de9eadae15ab578baa2058b614ce.zip
Fix 2 instances of a field being assigned itself in a constructor.
The code had no effect so its safe to remove. The issue was identified using error prone. Bug: 27723540 Change-Id: I3803573c545c00e8066ba185c271b38a75bf28c6 (cherry picked from commit 3fc930b1883466cc0e3b35a57519e435426554ee)
Diffstat (limited to 'src/com/android/bluetooth/gatt/HandleMap.java')
-rw-r--r--src/com/android/bluetooth/gatt/HandleMap.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/bluetooth/gatt/HandleMap.java b/src/com/android/bluetooth/gatt/HandleMap.java
index 4a2063984..27a7a7194 100644
--- a/src/com/android/bluetooth/gatt/HandleMap.java
+++ b/src/com/android/bluetooth/gatt/HandleMap.java
@@ -69,7 +69,6 @@ class HandleMap {
this.type = type;
this.handle = handle;
this.uuid = uuid;
- this.instance = instance;
this.serviceHandle = serviceHandle;
}
@@ -78,7 +77,6 @@ class HandleMap {
this.type = type;
this.handle = handle;
this.uuid = uuid;
- this.instance = instance;
this.serviceHandle = serviceHandle;
this.charHandle = charHandle;
}