Skip to content

Commit

Permalink
Remove unused type aliases from PlatformCompat
Browse files Browse the repository at this point in the history
  • Loading branch information
valencik committed Jun 25, 2022
1 parent 1d46809 commit 038e96b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions munit/jvm/src/main/scala/munit/internal/PlatformCompat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,4 @@ object PlatformCompat {
def isJS: Boolean = false
def isNative: Boolean = false
def getThisClassLoader: ClassLoader = this.getClass().getClassLoader()

type InvocationTargetException = java.lang.reflect.InvocationTargetException
type UndeclaredThrowableException =
java.lang.reflect.UndeclaredThrowableException
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,4 @@ object PlatformCompat {
private var myClassLoader: ClassLoader = _
def setThisClassLoader(loader: ClassLoader): Unit = myClassLoader = loader
def getThisClassLoader: ClassLoader = myClassLoader

type InvocationTargetException = java.lang.reflect.InvocationTargetException
type UndeclaredThrowableException =
java.lang.reflect.UndeclaredThrowableException
}

0 comments on commit 038e96b

Please sign in to comment.