Update ProviderConfig.java

add review comments