Skip to content

Commit

Permalink
ProxyBinder as default binder
Browse files Browse the repository at this point in the history
  • Loading branch information
jdiazcano committed Feb 6, 2017
1 parent 363edce commit 4dd1b49
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.jdiazcano.konfig.providers

import com.jdiazcano.konfig.binders.Binder
import com.jdiazcano.konfig.binders.ProxyBinder
import com.jdiazcano.konfig.loaders.ConfigLoader
import com.jdiazcano.konfig.parsers.Parser
import com.jdiazcano.konfig.parsers.Parsers.findParser
Expand All @@ -37,7 +38,7 @@ import java.lang.reflect.Type
open class DefaultConfigProvider(
private val configLoader: ConfigLoader,
private val reloadStrategy: ReloadStrategy? = null,
override val binder: Binder
override val binder: Binder = ProxyBinder()
): ConfigProvider {

private val listeners: MutableList<() -> Unit> = mutableListOf()
Expand Down

0 comments on commit 4dd1b49

Please sign in to comment.