cfg4j / cfg4j

Modern configuration library for distributed apps written in Java.

Home Page:http://cfg4j.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make ConsulConfigurationSource a public class

shudas opened this issue · comments

ConsulConfigurationSource is package private but it is the return value of the public function, ConsulConfigurationSourceBuilder::build. This causes problems when using kotlin b/c kotlin cannot assign any variable to type ConsulConfigurationSource since it is package private. Since ConsulConfigurationSourceBuilder::build returns an instance of ConsulConfigurationSource, we should make ConsulConfigurationSource a public class.

Fixed by #198

Thanks for addressing this!