summaryrefslogtreecommitdiff
path: root/android/sdl_android/src/main
diff options
context:
space:
mode:
authorJulian Kast <julian@livio.com>2020-03-13 10:17:31 -0400
committerJulian Kast <julian@livio.com>2020-03-13 10:17:31 -0400
commit8642a76d69bba2bbf693583f0d122e6669e06130 (patch)
tree5ca676ee22d2db2bdf4b4c27fc1a375e7bf1259c /android/sdl_android/src/main
parent9e03c8f16f04f088ca3904db9fa9cb78d479b1ce (diff)
downloadsdl_android-8642a76d69bba2bbf693583f0d122e6669e06130.tar.gz
Removing check primitive vars for null in SdlFile in android project
Diffstat (limited to 'android/sdl_android/src/main')
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java b/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java
index 125a9df87..f028119c3 100644
--- a/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java
+++ b/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java
@@ -249,9 +249,9 @@ public class SdlFile{
result += ((getUri() == null) ? 0 : Integer.rotateLeft(getUri().hashCode(), 2));
result += ((getFileData() == null) ? 0 : Integer.rotateLeft(getFileData().hashCode(), 3));
result += ((getType() == null) ? 0 : Integer.rotateLeft(getType().hashCode(), 4));
- result += ((Boolean.valueOf(isStaticIcon) == null) ? 0 : Integer.rotateLeft(Boolean.valueOf(isStaticIcon).hashCode(), 5));
- result += ((Boolean.valueOf(isPersistent()) == null) ? 0 : Integer.rotateLeft(Boolean.valueOf(isPersistent()).hashCode(), 6));
- result += ((Integer.valueOf(getResourceId()) == null) ? 0 : Integer.rotateLeft(Integer.valueOf(getResourceId()).hashCode(), 7));
+ result += Integer.rotateLeft(Boolean.valueOf(isStaticIcon()).hashCode(), 5);
+ result += Integer.rotateLeft(Boolean.valueOf(isPersistent()).hashCode(), 6);
+ result += Integer.rotateLeft(Integer.valueOf(getResourceId()).hashCode(), 7);
return result;
}