Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jachro committed Jan 19, 2024
1 parent c3f3198 commit 834038d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package io.renku.redis.client

import dev.profunktor.redis4cats.data.RedisCodec
import io.lettuce.core.codec.{ByteArrayCodec, StringCodec, RedisCodec as JRedisCodec}
import io.lettuce.core.codec.{ByteArrayCodec, RedisCodec as JRedisCodec, StringCodec}
import scodec.bits.ByteVector

import java.nio.ByteBuffer
Expand Down
4 changes: 2 additions & 2 deletions project/RedisServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ object RedisServer {
}

private def call(methodName: String): ClassLoader => Unit = classLoader => {
val clazz = classLoader.loadClass("io.renku.redis.client.util.RedisServer$")
val method = clazz.getMethod(methodName)
val clazz = classLoader.loadClass("io.renku.redis.client.util.RedisServer$")
val method = clazz.getMethod(methodName)
val instance = clazz.getField("MODULE$").get(null)
method.invoke(instance)
}
Expand Down

0 comments on commit 834038d

Please sign in to comment.