Make replaceName and getConfig public

replaceName and getConfig should have public access so that they can be
used from pull-replication too

Change-Id: I601a746c451c242c93975358d770b6b64cd801ff
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java
index 83f941c..554e441 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java
@@ -47,7 +47,7 @@
     this.pluginDataDir = pluginDataDir;
   }
 
-  static String replaceName(String in, String name, boolean keyIsOptional) {
+  public static String replaceName(String in, String name, boolean keyIsOptional) {
     String key = "${name}";
     int n = in.indexOf(key);
     if (0 <= n) {
@@ -93,7 +93,7 @@
     return cfgPath;
   }
 
-  FileBasedConfig getConfig() {
+  public FileBasedConfig getConfig() {
     return config;
   }