Fix detekt warning

This commit is contained in:
rick.parker 2023-04-20 16:37:27 +01:00
parent 89fc55a502
commit 163dd0580e

View File

@ -9,6 +9,7 @@ import java.util.jar.JarEntry
import java.util.jar.JarOutputStream
import java.util.jar.Manifest
@Suppress("TooGenericExceptionCaught")
object AttachAegis4j {
private fun toBytes(clazz: Class<*>): ByteArray? {
val path = clazz.name.replace('.', '/') + ".class"