Skip to content

Commit

Permalink
reduce lint
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Oct 8, 2024
1 parent d903b91 commit 484d45f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ public class UploadListActivity extends FileActivity {
@Inject
LocalBroadcastManager localBroadcastManager;

@Inject
ViewThemeUtils viewThemeUtils;

@Inject Throttler throttler;

private UploadListLayoutBinding binding;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ private OCFile getPreviousFileWithFilter(FileDataStorageManager storageManager,
}
}

private Future<Pair<Integer, OCFile>> getPreviousFile() throws NullPointerException, RejectedExecutionException {
private Future<Pair<Integer, OCFile>> getPreviousFile() {
CompletableFuture<Pair<Integer, OCFile>> completableFuture = new CompletableFuture<>();

Executors.newCachedThreadPool().submit(() -> {
Expand Down Expand Up @@ -1027,8 +1027,7 @@ public int onBrowseUp() {
mFile = result.second;
updateFileList();
return result.first;
} catch (java.util.concurrent.ExecutionException | java.lang.InterruptedException | NullPointerException |
RejectedExecutionException e) {
} catch (Exception e) {
Log_OC.e(TAG,"Error caught in onBrowseUp " + e + " getPreviousFileWithoutFilter() used: ");

FileDataStorageManager storageManager = mContainerActivity.getStorageManager();
Expand Down

0 comments on commit 484d45f

Please sign in to comment.