Skip to content

Commit 95df314

Browse files
committed
Exclude.java: use {@code } instead of <code></code>
1 parent fb667b7 commit 95df314

File tree

1 file changed

+7
-7
lines changed
  • firebase-firestore/src/main/java/com/google/firebase/firestore

1 file changed

+7
-7
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/Exclude.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
* Marks a field as excluded from the database instance.
2424
*
2525
* <h3>Kotlin Note</h3>
26-
* When applying this annotation to a property of a Kotlin class, the <code>@get</code> use-site
27-
* target should always be used. There is no need to use the <code>@set</code> use-site target as
28-
* this annotation is <em>only</em> considered when <em>writing</em> instances into Firestore, and
29-
* is ignored when <em>reading</em> instances from Firestore.
26+
* When applying this annotation to a property of a Kotlin class, the {@code @get} use-site target
27+
* should always be used. There is no need to use the {@code @set} use-site target as this
28+
* annotation is <em>only</em> considered when <em>writing</em> instances into Firestore, and is
29+
* ignored when <em>reading</em> instances from Firestore.
3030
* <p>
3131
* Here is an example of a class that can both be written into and read from Firestore whose
32-
* <code>bar</code> property will never be written into Firestore:
32+
* {@code bar} property will never be written into Firestore:
3333
* <pre>
3434
* data class Pojo(var foo: String? = null, @get:Exclude var bar: String? = null) {
3535
* constructor() : this(null, null) // Used by Firestore to create new instances
@@ -41,8 +41,8 @@
4141
* <pre>
4242
* data class Pojo(val foo: String? = null, @get:Exclude val bar: String? = null)
4343
* </pre>
44-
* That is, <code>var</code> can be tightened to <code>val</code> and the secondary no-argument
45-
* constructor can be omitted.
44+
* That is, {@code var} can be tightened to {@code val} and the secondary no-argument constructor
45+
* can be omitted.
4646
*/
4747
@Retention(RetentionPolicy.RUNTIME)
4848
@Target({ElementType.METHOD, ElementType.FIELD})

0 commit comments

Comments
 (0)