Remove unneeded java.util packages (#141)

This commit is contained in:
Said Tahsin Dane 2020-04-07 17:50:21 +02:00 committed by GitHub
parent f809dc688e
commit b9f42860ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 7 deletions

View file

@ -18,7 +18,7 @@ object Util {
fillStack(arr, stack)
if (emptyStack(stack)) {
if (stack.isEmpty()) {
return "/"
}
@ -31,10 +31,6 @@ object Util {
return sb.toString()
}
private fun emptyStack(stack: Stack<String>): Boolean {
return stack.isEmpty()
}
private fun fillStack(arr: Array<String>, stack: Stack<String>) {
for (str in arr) {
if ("/" == str) {

View file

@ -20,7 +20,6 @@ package com.dropbox.android.external.fs3.filesystem
// package org.jpublish.util;
import java.io.File
import java.util.NoSuchElementException
import java.util.Stack
/**

View file

@ -7,7 +7,6 @@ import okio.BufferedSource
import java.io.File
import java.io.FileNotFoundException
import java.io.IOException
import java.util.ArrayList
import kotlin.time.Duration
import kotlin.time.ExperimentalTime