refactor: Fix overlapping filenames for StringUtil
This commit is contained in:
@@ -16,7 +16,7 @@ import moe.nea.firmament.util.FirmFormatters.formatCommas
|
||||
import moe.nea.firmament.util.SkyblockId
|
||||
import moe.nea.firmament.util.data.ProfileSpecificDataHolder
|
||||
import moe.nea.firmament.util.formattedString
|
||||
import moe.nea.firmament.util.parseIntWithComma
|
||||
import moe.nea.firmament.util.StringUtil.parseIntWithComma
|
||||
import moe.nea.firmament.util.useMatch
|
||||
|
||||
object PristineProfitTracker : FirmamentFeature {
|
||||
|
||||
@@ -5,5 +5,9 @@ object StringUtil {
|
||||
return splitToSequence(" ") // TODO: better boundaries
|
||||
}
|
||||
|
||||
fun parseIntWithComma(string: String): Int {
|
||||
return string.replace(",", "").toInt()
|
||||
}
|
||||
|
||||
fun Iterable<String>.unwords() = joinToString(" ")
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
|
||||
package moe.nea.firmament.util
|
||||
|
||||
fun parseIntWithComma(string: String): Int {
|
||||
return string.replace(",", "").toInt()
|
||||
}
|
||||
Reference in New Issue
Block a user