Skip to content

Commit

Permalink
Remove fastutil dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Apr 8, 2024
1 parent 76cec19 commit 7f05c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ kotlin {
val nativeTest by creating {
dependsOn(fileBasedTest)
}
val jvmMain by getting {
dependencies {
api("it.unimi.dsi:fastutil-core:8.5.12")
}
}
val nativeSourceSets = listOf(
"linuxX64",
"linuxArm64",
Expand Down
6 changes: 2 additions & 4 deletions src/jvmMain/kotlin/CommonDefsImplJvm.kt
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package org.intellij.markdown.html

import it.unimi.dsi.fastutil.ints.IntArrayList
import it.unimi.dsi.fastutil.ints.IntStack
import org.intellij.markdown.lexer.Stack
import java.net.URLEncoder
import java.util.Stack

actual class BitSet actual constructor(size: Int): java.util.BitSet(size){
actual val size = size()
}

actual typealias IntStack = IntArrayList
actual class IntStack: Stack<Int>()

private const val PUNCTUATION_MASK: Int = (1 shl Character.DASH_PUNCTUATION.toInt()) or
(1 shl Character.START_PUNCTUATION.toInt()) or
Expand Down

0 comments on commit 7f05c09

Please sign in to comment.