Hello ${user}
. */
public class ParameterizedString {
/** Obtain a string which has no parameters and always produces the value. */
public static ParameterizedString asis(final String constant) {
diff --git a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/api/changes/ReviewInput.java b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/api/changes/ReviewInput.java
index 2d2e4e96b5..873c560fb9 100644
--- a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/api/changes/ReviewInput.java
+++ b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/api/changes/ReviewInput.java
@@ -21,7 +21,7 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-/** Input passed to {@code POST /changes/{id}/revisions/{id}/review}. */
+/** Input passed to {@code POST /changes/[id]/revisions/[id]/review}. */
public class ReviewInput {
@DefaultInput
public String message;
diff --git a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicItem.java b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicItem.java
index 7de740dc52..1388637ad3 100644
--- a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicItem.java
+++ b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicItem.java
@@ -67,9 +67,7 @@ public class DynamicItem* Items must be defined in a Guice module before they can be bound: *
- * {@code * DynamicSet.itemOf(binder(), new TypeLiteral* * @param binder a new binder created in the module. diff --git a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicMap.java b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicMap.java index b777899418..abf944a4d3 100644 --- a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicMap.java +++ b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicMap.java @@ -67,12 +67,10 @@ public abstract class DynamicMap>() {}); - * } *
- * {@code * DynamicMap.mapOf(binder(), new TypeLiteral* * @param binder a new binder created in the module. diff --git a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicSet.java b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicSet.java index 8bc39a51ae..82613c77f7 100644 --- a/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicSet.java +++ b/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/registration/DynamicSet.java @@ -61,9 +61,7 @@ public class DynamicSet>(){}); * bind(new TypeLiteral >() {}) * .annotatedWith(Exports.named("foo")) * .to(Impl.class); - * } *
* Sets must be defined in a Guice module before they can be bound: *
- * {@code * DynamicSet.setOf(binder(), new TypeLiteral* * @param binder a new binder created in the module. diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/api/PluginName.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/api/PluginName.java index 67b8a980a9..a560711cdc 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/api/PluginName.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/api/PluginName.java @@ -25,7 +25,7 @@ import com.google.gwt.core.client.JsArrayString; * JavaScript call stack and identifying the URL of the script file calling * {@code Gerrit.install()}. The simple approach applied here is looking at * the source URLs and extracting the name out of the string, e.g.: - * {@code "http://localhost:8080/plugins/{name}/static/foo.js"}. + * {@code "http://localhost:8080/plugins/[name]/static/foo.js"}. */ class PluginName { private static final String UNKNOWN = ">() {}); - * } *
${host} ${port}
.
*
- * Use a Git URL such as {@code ssh://${email}@${host}:${port}/${path}},
+ * Use a Git URL such as ssh://${email}@${host}:${port}/${path}
,
* e.g. {@code ssh://sop@google.com@gerrit.com:8010/tools/gerrit.git} to
* access the SSH daemon itself.
*
diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/query/change/PredicateArgs.java b/gerrit-server/src/main/java/com/google/gerrit/server/query/change/PredicateArgs.java index 3e794b7945..23350d2477 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/query/change/PredicateArgs.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/query/change/PredicateArgs.java @@ -38,7 +38,7 @@ public class PredicateArgs { * Parses query arguments into {@link #keyValue} and/or {@link #positional}.. *
* Labels for these arguments should be kept in ChangeQueryBuilder - * as {@code ARG_ID_{argument name}}. + * as {@code ARG_ID_[argument name]}. * * @param args arguments to be parsed * @throws QueryParseException diff --git a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/SshDaemon.java b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/SshDaemon.java index 33ffb47ffb..935a2905b2 100644 --- a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/SshDaemon.java +++ b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/SshDaemon.java @@ -129,7 +129,7 @@ import java.util.List; /** * SSH daemon to communicate with Gerrit. *
- * Use a Git URL such as {@code ssh://${email}@${host}:${port}/${path}},
+ * Use a Git URL such as ssh://${email}@${host}:${port}/${path}
,
* e.g. {@code ssh://sop@google.com@gerrit.com:8010/tools/gerrit.git} to
* access the SSH daemon itself.
*