Messaging: Replace explicit types

Change-Id: I2165b3dec73973a2a82d8b3c7c364b5f011e597d
This commit is contained in:
Michael W
2024-12-16 17:16:03 +01:00
parent 9538179c75
commit 0069df879a
124 changed files with 278 additions and 277 deletions

View File

@@ -1,6 +1,7 @@
/*
* Copyright (C) 2007-2008 Esmertec AG.
* Copyright (C) 2007-2008 The Android Open Source Project
* Copyright (C) 2024 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -811,7 +812,7 @@ public class PduParser {
}
case PduHeaders.CONTENT_TYPE: {
SparseArray<Object> map = new SparseArray<Object>();
SparseArray<Object> map = new SparseArray<>();
byte[] contentType =
parseContentType(pduDataStream, map);
@@ -882,7 +883,7 @@ public class PduParser {
}
/* parse part's content-type */
SparseArray<Object> map = new SparseArray<Object>();
SparseArray<Object> map = new SparseArray<>();
byte[] contentType = parseContentType(pduDataStream, map);
if (null != contentType) {
part.setContentType(contentType);