Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @code instead of @link for primitive types. #1361

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions core/src/main/java/com/google/common/truth/Truth.java
Original file line number Diff line number Diff line change
Expand Up @@ -235,42 +235,42 @@ public static IterableSubject assertThat(@Nullable Iterable<?> actual) {
return assert_().that(actual);
}

/** Begins an assertion about a {@link boolean} array. */
/** Begins an assertion about a {@code boolean} array. */
public static PrimitiveBooleanArraySubject assertThat(boolean @Nullable [] actual) {
return assert_().that(actual);
}

/** Begins an assertion about a {@link short} array. */
/** Begins an assertion about a {@code short} array. */
public static PrimitiveShortArraySubject assertThat(short @Nullable [] actual) {
return assert_().that(actual);
}

/** Begins an assertion about an {@link int} array. */
/** Begins an assertion about an {@code int} array. */
public static PrimitiveIntArraySubject assertThat(int @Nullable [] actual) {
return assert_().that(actual);
}

/** Begins an assertion about a {@link long} array. */
/** Begins an assertion about a {@code long} array. */
public static PrimitiveLongArraySubject assertThat(long @Nullable [] actual) {
return assert_().that(actual);
}

/** Begins an assertion about a {@link byte} array. */
/** Begins an assertion about a {@code byte} array. */
public static PrimitiveByteArraySubject assertThat(byte @Nullable [] actual) {
return assert_().that(actual);
}

/** Begins an assertion about a {@link char} array. */
/** Begins an assertion about a {@code char} array. */
public static PrimitiveCharArraySubject assertThat(char @Nullable [] actual) {
return assert_().that(actual);
}

/** Begins an assertion about a {@link float} array. */
/** Begins an assertion about a {@code float} array. */
public static PrimitiveFloatArraySubject assertThat(float @Nullable [] actual) {
return assert_().that(actual);
}

/** Begins an assertion about a {@link double} array. */
/** Begins an assertion about a {@code double} array. */
public static PrimitiveDoubleArraySubject assertThat(double @Nullable [] actual) {
return assert_().that(actual);
}
Expand Down