Apply gjf Fix formatting missed in 2a7d9793041c2b1045cd814decd8096316859807. Change-Id: I2f13e38605b5f175e6674e5073840b08805d444d
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java index 2243a3c..ebe169c 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java
@@ -213,8 +213,7 @@ @Override public String toString() { - String print = - "[" + HexFormat.fromInt(id) + "] push " + uri + " " + getLimitedRefs(); + String print = "[" + HexFormat.fromInt(id) + "] push " + uri + " " + getLimitedRefs(); if (retryCount > 0) { print = "(retry " + retryCount + ") " + print; @@ -222,9 +221,9 @@ return print; } - /** - * Returns a string of refs limited to the maxRefsToShow config with count of total refs hidden when - * there are more refs than maxRefsToShow config. + /** + * Returns a string of refs limited to the maxRefsToShow config with count of total refs hidden + * when there are more refs than maxRefsToShow config. * * <ul> * <li>Refs will not be limited when maxRefsToShow config is set to zero.
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationConfig.java b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationConfig.java index 410cf5b..ec75450 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationConfig.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationConfig.java
@@ -60,10 +60,10 @@ int getMaxRefsToLog(); /** - * Returns the maximum number of replicating refs to show in the show-queue output - * - * @return maximum number of refs to show, 2 by default. - */ + * Returns the maximum number of replicating refs to show in the show-queue output + * + * @return maximum number of refs to show, 2 by default. + */ int getMaxRefsToShow(); /**
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 555a5c7..f5c6185 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java
@@ -55,7 +55,7 @@ this.replicateAllOnPluginStart = config.getBoolean("gerrit", "replicateOnStartup", false); this.defaultForceUpdate = config.getBoolean("gerrit", "defaultForceUpdate", false); this.maxRefsToLog = config.getInt("gerrit", "maxRefsToLog", 0); - this.maxRefsToShow= config.getInt("gerrit", "maxRefsToShow", 2); + this.maxRefsToShow = config.getInt("gerrit", "maxRefsToShow", 2); this.pluginDataDir = pluginDataDir; }