Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasankavitha committed Nov 13, 2023
1 parent 5e1ab2c commit a0fe156
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import org.dataloader.DataLoaderRegistry
import org.dataloader.MappedBatchLoader
import org.dataloader.MappedBatchLoaderWithContext
import org.dataloader.registries.DispatchPredicate
import org.dataloader.registries.ScheduledDataLoaderRegistry
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.aop.support.AopUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ open class DgsDataLoaderRegistry : DataLoaderRegistry() {
* @param <V> the type of values
*
* @return a data loader
</V></K> */
</V></K> */
override fun <K, V> computeIfAbsent(
key: String,
mappingFunction: Function<String, DataLoader<*, *>>?
Expand Down Expand Up @@ -138,7 +138,7 @@ open class DgsDataLoaderRegistry : DataLoaderRegistry() {
* @param <V> the type of values
*
* @return a data loader or null if its not present
</V></K> */
</V></K> */
override fun <K, V> getDataLoader(key: String): DataLoader<K, V>? {
return dataLoaderRegistry.getDataLoader(key) ?: scheduledDataLoaderRegistries[key]?.getDataLoader(key)
}
Expand Down Expand Up @@ -195,4 +195,4 @@ open class DgsDataLoaderRegistry : DataLoaderRegistry() {
stats = stats.combine(dataLoaderRegistry.statistics)
return stats
}
}}
}
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ class DgsDataLoaderRegistryTest {
return CompletableFuture.completedFuture(listOf("A", "B", "C"))
}
}
}
}

0 comments on commit a0fe156

Please sign in to comment.