aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornchalko <nchalko@google.com>2019-06-06 09:44:41 -0700
committerNick Chalko <nchalko@google.com>2019-06-06 12:56:54 -0700
commitb48965125b9aa90355ea55ef37e5e278d78bd3b5 (patch)
tree4579fd701f5ecc0fd9af95743e748e329fc730fe /src
parent19976948d5f1a067bd5c72cfb9eff4602be5d5ec (diff)
downloadTV-b48965125b9aa90355ea55ef37e5e278d78bd3b5.tar.gz
Cleanup set type paramanter in EpgFetcherImpl
PiperOrigin-RevId: 251869119 Change-Id: Ic5012580ad69681fb9b99cc35cdc0b52a1698c8d
Diffstat (limited to 'src')
-rw-r--r--src/com/android/tv/data/epg/EpgFetcherImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/tv/data/epg/EpgFetcherImpl.java b/src/com/android/tv/data/epg/EpgFetcherImpl.java
index 883ee16d..be530994 100644
--- a/src/com/android/tv/data/epg/EpgFetcherImpl.java
+++ b/src/com/android/tv/data/epg/EpgFetcherImpl.java
@@ -470,7 +470,7 @@ public class EpgFetcherImpl implements EpgFetcher {
@WorkerThread
private void batchUpdateEpg(Map<EpgReader.EpgChannel, Collection<Program>> allPrograms) {
for (Map.Entry<EpgReader.EpgChannel, Collection<Program>> entry : allPrograms.entrySet()) {
- List<Program> programs = new ArrayList(entry.getValue());
+ List<Program> programs = new ArrayList<>(entry.getValue());
if (programs == null) {
continue;
}