Rename PluginConfigProvider to PluginConfigFactory.

The PluginConfigProvider was not a guice Provider. Since all classes
named like ...Provider do implement the Provider<T> interface from
guice, we can consider the naming of PluginConfigProvider as
inconsistent.

Change-Id: I83cbe47112865e293a7928b123d94d4b4a3839db
This commit is contained in:
Sasa Zivkov
2013-09-20 14:05:15 +02:00
parent f7bfff88a2
commit acdf533ca7
2 changed files with 4 additions and 4 deletions

View File

@@ -20,11 +20,11 @@ import com.google.inject.Singleton;
import org.eclipse.jgit.lib.Config;
@Singleton
public class PluginConfigProvider {
public class PluginConfigFactory {
private final Config cfg;
@Inject
PluginConfigProvider(@GerritServerConfig Config cfg) {
PluginConfigFactory(@GerritServerConfig Config cfg) {
this.cfg = cfg;
}