aboutsummaryrefslogtreecommitdiff
path: root/car-lib/src/android/car/diagnostic
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-01-27 00:48:13 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-01-27 00:48:13 +0000
commitf47be6f7d167985c492ef41e0c652a5eb7a3e943 (patch)
tree77dc40027d08f4bfec121f81f13b7dacbb9545e8 /car-lib/src/android/car/diagnostic
parentce77e3a7a3c8df87255405bda7759a127d7c3b33 (diff)
parentf2980335a28c808fef6fff0ffca569e1b83ec229 (diff)
downloadCar-f47be6f7d167985c492ef41e0c652a5eb7a3e943.tar.gz
Car: Avoid Errorprone SelfAssignment error am: e72397b661 am: e0f090191e
am: f2980335a2 Change-Id: Ie226a09e20eb8d547f04ae2f5afdc03f2129942e
Diffstat (limited to 'car-lib/src/android/car/diagnostic')
-rw-r--r--car-lib/src/android/car/diagnostic/CarDiagnosticEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/car-lib/src/android/car/diagnostic/CarDiagnosticEvent.java b/car-lib/src/android/car/diagnostic/CarDiagnosticEvent.java
index e8ec2b5b47..34987940db 100644
--- a/car-lib/src/android/car/diagnostic/CarDiagnosticEvent.java
+++ b/car-lib/src/android/car/diagnostic/CarDiagnosticEvent.java
@@ -298,7 +298,7 @@ public class CarDiagnosticEvent implements Parcelable {
/** @hide */
public boolean isEarlierThan(CarDiagnosticEvent otherEvent) {
- otherEvent = Objects.requireNonNull(otherEvent);
+ Objects.requireNonNull(otherEvent);
return (timestamp < otherEvent.timestamp);
}