Remove unneeded java.util packages (#141)
This commit is contained in:
parent
f809dc688e
commit
b9f42860ed
3 changed files with 1 additions and 7 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue