Skip to content

Commit

Permalink
* minimal code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Jun 15, 2019
1 parent 3878e51 commit bb60200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ interface ExtensionFactory<T : IAdapterExtension<out IItem<out RecyclerView.View

val clazz: Class<T>

fun create(
fastAdapter: FastAdapter<out IItem<out RecyclerView.ViewHolder>>
): T?
fun create(fastAdapter: FastAdapter<out IItem<out RecyclerView.ViewHolder>>): T?
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import com.mikepenz.fastadapter.IItem

object ExtensionsFactories {

private val factories =
LinkedHashMap<Class<out IAdapterExtension<out IItem<out RecyclerView.ViewHolder>>>, ExtensionFactory<*>>()
private val factories = LinkedHashMap<Class<out IAdapterExtension<out IItem<out RecyclerView.ViewHolder>>>, ExtensionFactory<*>>()

fun register(factory: ExtensionFactory<*>) {
factories[factory.clazz] = factory
Expand Down

0 comments on commit bb60200

Please sign in to comment.