Skip to content

Commit

Permalink
add since annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed May 12, 2023
1 parent be4b3bc commit 842e7b0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
import javax.annotation.Nullable;
import org.assertj.core.api.AbstractAssert;

/** Test assertions for {@link LogRecordData}. */
/**
* Test assertions for {@link LogRecordData}.
*
* @since 1.27.0
*/
public final class LogRecordDataAssert extends AbstractAssert<LogRecordDataAssert, LogRecordData> {

LogRecordDataAssert(@Nullable LogRecordData actual) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ public static EventDataAssert assertThat(@Nullable EventData eventData) {
return new EventDataAssert(eventData);
}

/** Returns an assertion for {@link LogRecordData}. */
/**
* Returns an assertion for {@link LogRecordData}.
*
* @since 1.27.0
*/
public static LogRecordDataAssert assertThat(@Nullable LogRecordData log) {
return new LogRecordDataAssert(log);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

/**
* A {@link LogRecordExporter} implementation that can be used to test OpenTelemetry integration.
*
* @since 1.27.0
*/
public final class InMemoryLogRecordExporter implements LogRecordExporter {
private final Queue<LogRecordData> finishedLogItems = new ConcurrentLinkedQueue<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
import java.util.concurrent.TimeUnit;
import javax.annotation.concurrent.Immutable;

/** Immutable representation of {@link LogRecordData}. */
/**
* Immutable representation of {@link LogRecordData}.
*
* @since 1.27.0
*/
@Immutable
@AutoValue
public abstract class TestLogRecordData implements LogRecordData {
Expand Down

0 comments on commit 842e7b0

Please sign in to comment.