Code cleanup.

This commit is contained in:
Dennis Guse
2021-04-04 23:31:36 +02:00
parent bc1b4e3cd2
commit 3a073a3b0a
6 changed files with 7 additions and 12 deletions
@@ -38,7 +38,7 @@ class ExecutorListViewService<T> {
}
new Thread(() -> {
Future future = executorService.submit(runnable);
Future<?> future = executorService.submit(runnable);
try {
future.get();
} catch (ExecutionException | InterruptedException e) {
@@ -34,7 +34,7 @@ public class MarkerResourceCursorAdapter extends ResourceCursorAdapter implement
private final Activity activity;
//TODO Should be Marker.Id
private final ExecutorListViewService<Long> executorService = new ExecutorListViewService<Long>(LIST_PREFERRED_ITEM_HEIGHT_DEFAULT);
private final ExecutorListViewService<Long> executorService = new ExecutorListViewService<>(LIST_PREFERRED_ITEM_HEIGHT_DEFAULT);
private boolean scroll = false;