Skip to content

Commit

Permalink
improved cloud connector injection for java
Browse files Browse the repository at this point in the history
  • Loading branch information
Suqatri committed Jul 10, 2024
1 parent e6a480a commit f83413b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ class CloudJKWrapper {

companion object {
@JvmStatic
fun <T : CloudInjectable> injectCloudAPI(clazz: Class<T>, cloudInjectable: T) {
injectApi(clazz, cloudInjectable)
fun <T : CloudInjectable> injectCloudAPI(cloudInjectable: T) {
val cloudInjectableClazz: Class<T> = cloudInjectable.javaClass
injectApi(cloudInjectableClazz, cloudInjectable)
}

@JvmStatic
Expand Down

0 comments on commit f83413b

Please sign in to comment.