Skip to content

Commit d40589d

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Avoid backticks in Javadoc.
RELNOTES=n/a PiperOrigin-RevId: 684455708
1 parent f5ec2ab commit d40589d

File tree

12 files changed

+82
-82
lines changed

12 files changed

+82
-82
lines changed

android/guava/src/com/google/common/base/MoreObjects.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ public ToStringHelper omitNullValues() {
174174
* empty values. The order of calling this method, relative to the {@code add()}/{@code
175175
* addValue()} methods, is not significant.
176176
*
177-
* <p><b>Note:</b> in general, code should assume that the string form returned by
178-
* `ToStringHelper` for a given object may change. In particular, the list of types which are
177+
* <p><b>Note:</b> in general, code should assume that the string form returned by {@code
178+
* ToStringHelper} for a given object may change. In particular, the list of types which are
179179
* checked for emptiness is subject to change. We currently check {@code CharSequence}s, {@code
180180
* Collection}s, {@code Map}s, optionals (including Guava's), and arrays.
181181
*

android/guava/src/com/google/common/graph/Graph.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ public interface Graph<N> extends BaseGraph<N> {
166166
* IllegalStateException} if it is accessed in any way, with the following exceptions:
167167
*
168168
* <ul>
169-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
170-
* involving {@code view} will throw)
169+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
170+
* expression involving {@code view} will throw)
171171
* <li>{@code hashCode()} does not throw
172172
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
173173
* behavior is undefined
@@ -189,8 +189,8 @@ public interface Graph<N> extends BaseGraph<N> {
189189
* IllegalStateException} if it is accessed in any way, with the following exceptions:
190190
*
191191
* <ul>
192-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
193-
* involving {@code view} will throw)
192+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
193+
* expression involving {@code view} will throw)
194194
* <li>{@code hashCode()} does not throw
195195
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
196196
* behavior is undefined
@@ -215,8 +215,8 @@ public interface Graph<N> extends BaseGraph<N> {
215215
* IllegalStateException} if it is accessed in any way, with the following exceptions:
216216
*
217217
* <ul>
218-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
219-
* involving {@code view} will throw)
218+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
219+
* expression involving {@code view} will throw)
220220
* <li>{@code hashCode()} does not throw
221221
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
222222
* behavior is undefined
@@ -237,8 +237,8 @@ public interface Graph<N> extends BaseGraph<N> {
237237
* IllegalStateException} if it is accessed in any way, with the following exceptions:
238238
*
239239
* <ul>
240-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
241-
* involving {@code view} will throw)
240+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
241+
* expression involving {@code view} will throw)
242242
* <li>{@code hashCode()} does not throw
243243
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
244244
* behavior is undefined

android/guava/src/com/google/common/graph/Network.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
170170
* IllegalStateException} if it is accessed in any way, with the following exceptions:
171171
*
172172
* <ul>
173-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
174-
* involving {@code view} will throw)
173+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
174+
* expression involving {@code view} will throw)
175175
* <li>{@code hashCode()} does not throw
176176
* <li>if {@code node} is re-added to the network after having been removed, {@code view}'s
177177
* behavior is undefined
@@ -187,9 +187,9 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
187187
*
188188
* <p>In an undirected network, this is equivalent to {@link #adjacentNodes(Object)}.
189189
*
190-
* <p>If {@code node} is removed from the network after this method is called, the `Set` returned
191-
* by this method will be invalidated, and will throw `IllegalStateException` if it is accessed in
192-
* any way.
190+
* <p>If {@code node} is removed from the network after this method is called, the {@code Set}
191+
* returned by this method will be invalidated, and will throw {@code IllegalStateException} if it
192+
* is accessed in any way.
193193
*
194194
* @throws IllegalArgumentException if {@code node} is not an element of this network
195195
*/
@@ -210,8 +210,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
210210
* IllegalStateException} if it is accessed in any way, with the following exceptions:
211211
*
212212
* <ul>
213-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
214-
* involving {@code view} will throw)
213+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
214+
* expression involving {@code view} will throw)
215215
* <li>{@code hashCode()} does not throw
216216
* <li>if {@code node} is re-added to the network after having been removed, {@code view}'s
217217
* behavior is undefined
@@ -233,8 +233,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
233233
* IllegalStateException} if it is accessed in any way, with the following exceptions:
234234
*
235235
* <ul>
236-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
237-
* involving {@code view} will throw)
236+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
237+
* expression involving {@code view} will throw)
238238
* <li>{@code hashCode()} does not throw
239239
* <li>if {@code node} is re-added to the network after having been removed, {@code view}'s
240240
* behavior is undefined
@@ -258,8 +258,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
258258
* IllegalStateException} if it is accessed in any way, with the following exceptions:
259259
*
260260
* <ul>
261-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
262-
* involving {@code view} will throw)
261+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
262+
* expression involving {@code view} will throw)
263263
* <li>{@code hashCode()} does not throw
264264
* <li>if {@code node} is re-added to the network after having been removed, {@code view}'s
265265
* behavior is undefined
@@ -282,8 +282,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
282282
* IllegalStateException} if it is accessed in any way, with the following exceptions:
283283
*
284284
* <ul>
285-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
286-
* involving {@code view} will throw)
285+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
286+
* expression involving {@code view} will throw)
287287
* <li>{@code hashCode()} does not throw
288288
* <li>if {@code node} is re-added to the network after having been removed, {@code view}'s
289289
* behavior is undefined
@@ -344,8 +344,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
344344
* IllegalStateException} if it is accessed in any way, with the following exceptions:
345345
*
346346
* <ul>
347-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
348-
* involving {@code view} will throw)
347+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
348+
* expression involving {@code view} will throw)
349349
* <li>{@code hashCode()} does not throw
350350
* <li>if {@code edge} is re-added to the network after having been removed, {@code view}'s
351351
* behavior is undefined
@@ -372,8 +372,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
372372
* exceptions:
373373
*
374374
* <ul>
375-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
376-
* involving {@code view} will throw)
375+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
376+
* expression involving {@code view} will throw)
377377
* <li>{@code hashCode()} does not throw
378378
* <li>if {@code nodeU} or {@code nodeV} are re-added to the network after having been removed,
379379
* {@code view}'s behavior is undefined
@@ -401,8 +401,8 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
401401
* exceptions:
402402
*
403403
* <ul>
404-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
405-
* involving {@code view} will throw)
404+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
405+
* expression involving {@code view} will throw)
406406
* <li>{@code hashCode()} does not throw
407407
* <li>if either endpoint is re-added to the network after having been removed, {@code view}'s
408408
* behavior is undefined

android/guava/src/com/google/common/graph/Traverser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ Traversal<N> newTraversal() {
114114
* structure being traversed is, in addition to being a tree/forest, also defined <a
115115
* href="https://github.com/google/guava/wiki/GraphsExplained#non-recursiveness">recursively</a>.
116116
* This is because the {@code forTree()}-based implementations don't keep track of visited nodes,
117-
* and therefore don't need to call `equals()` or `hashCode()` on the node objects; this saves
118-
* both time and space versus traversing the same graph using {@code forGraph()}.
117+
* and therefore don't need to call {@code equals()} or {@code hashCode()} on the node objects;
118+
* this saves both time and space versus traversing the same graph using {@code forGraph()}.
119119
*
120120
* <p>Providing a graph to be traversed for which there is more than one path from the start
121121
* node(s) to any node may lead to:

android/guava/src/com/google/common/graph/ValueGraph.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
175175
* IllegalStateException} if it is accessed in any way, with the following exceptions:
176176
*
177177
* <ul>
178-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
179-
* involving {@code view} will throw)
178+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
179+
* expression involving {@code view} will throw)
180180
* <li>{@code hashCode()} does not throw
181181
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
182182
* behavior is undefined
@@ -193,9 +193,9 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
193193
*
194194
* <p>In an undirected graph, this is equivalent to {@link #adjacentNodes(Object)}.
195195
*
196-
* <p>If {@code node} is removed from the graph after this method is called, the `Set` returned by
197-
* this method will be invalidated, and will throw `IllegalStateException` if it is accessed in
198-
* any way.
196+
* <p>If {@code node} is removed from the graph after this method is called, the {@code Set}
197+
* returned by this method will be invalidated, and will throw {@code IllegalStateException} if it
198+
* is accessed in any way.
199199
*
200200
* @throws IllegalArgumentException if {@code node} is not an element of this graph
201201
*/
@@ -216,8 +216,8 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
216216
* IllegalStateException} if it is accessed in any way, with the following exceptions:
217217
*
218218
* <ul>
219-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
220-
* involving {@code view} will throw)
219+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
220+
* expression involving {@code view} will throw)
221221
* <li>{@code hashCode()} does not throw
222222
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
223223
* behavior is undefined
@@ -238,8 +238,8 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
238238
* IllegalStateException} if it is accessed in any way, with the following exceptions:
239239
*
240240
* <ul>
241-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
242-
* involving {@code view} will throw)
241+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
242+
* expression involving {@code view} will throw)
243243
* <li>{@code hashCode()} does not throw
244244
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
245245
* behavior is undefined

android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public static Executor directExecutor() {
339339
*
340340
* <p>{@linkplain Executor#execute executed} tasks have a happens-before order as defined in the
341341
* Java Language Specification. Tasks execute with the same happens-before order that the function
342-
* calls to {@link Executor#execute `execute()`} that submitted those tasks had.
342+
* calls to {@link Executor#execute execute()} that submitted those tasks had.
343343
*
344344
* <p>The executor uses {@code delegate} in order to {@link Executor#execute execute} each task in
345345
* turn, and does not create any threads of its own.

guava/src/com/google/common/base/MoreObjects.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ public ToStringHelper omitNullValues() {
177177
* empty values. The order of calling this method, relative to the {@code add()}/{@code
178178
* addValue()} methods, is not significant.
179179
*
180-
* <p><b>Note:</b> in general, code should assume that the string form returned by
181-
* `ToStringHelper` for a given object may change. In particular, the list of types which are
180+
* <p><b>Note:</b> in general, code should assume that the string form returned by {@code
181+
* ToStringHelper} for a given object may change. In particular, the list of types which are
182182
* checked for emptiness is subject to change. We currently check {@code CharSequence}s, {@code
183183
* Collection}s, {@code Map}s, optionals (including Guava's), and arrays.
184184
*

guava/src/com/google/common/graph/Graph.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ public interface Graph<N> extends BaseGraph<N> {
166166
* IllegalStateException} if it is accessed in any way, with the following exceptions:
167167
*
168168
* <ul>
169-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
170-
* involving {@code view} will throw)
169+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
170+
* expression involving {@code view} will throw)
171171
* <li>{@code hashCode()} does not throw
172172
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
173173
* behavior is undefined
@@ -189,8 +189,8 @@ public interface Graph<N> extends BaseGraph<N> {
189189
* IllegalStateException} if it is accessed in any way, with the following exceptions:
190190
*
191191
* <ul>
192-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
193-
* involving {@code view} will throw)
192+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
193+
* expression involving {@code view} will throw)
194194
* <li>{@code hashCode()} does not throw
195195
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
196196
* behavior is undefined
@@ -215,8 +215,8 @@ public interface Graph<N> extends BaseGraph<N> {
215215
* IllegalStateException} if it is accessed in any way, with the following exceptions:
216216
*
217217
* <ul>
218-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
219-
* involving {@code view} will throw)
218+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
219+
* expression involving {@code view} will throw)
220220
* <li>{@code hashCode()} does not throw
221221
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
222222
* behavior is undefined
@@ -237,8 +237,8 @@ public interface Graph<N> extends BaseGraph<N> {
237237
* IllegalStateException} if it is accessed in any way, with the following exceptions:
238238
*
239239
* <ul>
240-
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
241-
* involving {@code view} will throw)
240+
* <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
241+
* expression involving {@code view} will throw)
242242
* <li>{@code hashCode()} does not throw
243243
* <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
244244
* behavior is undefined

0 commit comments

Comments
 (0)