From 9f3ecd5e8e32a81fcc44e7b3543c9b780e75129e Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Tue, 24 Apr 2018 19:59:34 -0400 Subject: [PATCH] Remove redundant var --- .../main/java/net/nullsum/audinaut/adapter/SectionAdapter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java b/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java index d9c716a..98f4432 100644 --- a/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java +++ b/app/src/main/java/net/nullsum/audinaut/adapter/SectionAdapter.java @@ -315,8 +315,7 @@ public abstract class SectionAdapter extends RecyclerView.Adapter getSelected() { - List selected = new ArrayList<>(this.selected); - return selected; + return new ArrayList<>(this.selected); } public void clearSelected() {