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

Stability: remove Beta annotations from several classes #489

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import static org.kiwiproject.base.KiwiPreconditions.requireNotNull;

import com.google.common.annotations.Beta;
import jakarta.persistence.EntityManager;
import lombok.Getter;

Expand Down Expand Up @@ -49,7 +48,6 @@
* Then, you can inject this "shared" EntityManager directly into DAOs and tests, and it will be
* automatically used by the DAO and test code without needing to do any of the setup code above.
*/
@Beta
public final class JpaTestHelper {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.AppenderBase;
import com.google.common.annotations.Beta;
import lombok.Synchronized;

import java.util.List;
Expand All @@ -28,7 +27,6 @@
* or {@link InMemoryAppenderAssertions#hasNumberOfLoggingEventsAndGet(int)} if you also
* need to get the list of events.
*/
@Beta
public class InMemoryAppender extends AppenderBase<ILoggingEvent> {

private final AtomicInteger messageOrder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package org.kiwiproject.test.logback;

import ch.qos.logback.classic.spi.ILoggingEvent;
import com.google.common.annotations.Beta;
import org.assertj.core.api.Assertions;

import java.util.List;

/**
* Provides AssertJ assertions for {@link InMemoryAppender}.
*/
@Beta
public class InMemoryAppenderAssertions {

private final InMemoryAppender appender;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import ch.qos.logback.classic.Logger;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.Appender;
import com.google.common.annotations.Beta;
import com.google.common.annotations.VisibleForTesting;
import lombok.Getter;
import lombok.experimental.Accessors;
Expand All @@ -27,7 +26,6 @@
* because this extension requires that a {@link ch.qos.logback.core.Appender}
* exists at the time tests are executed.
*/
@Beta
public class InMemoryAppenderExtension implements BeforeEachCallback, AfterEachCallback {

private final Class<?> loggerClass;
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/kiwiproject/test/xmlunit/KiwiXmlAssert.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import static org.kiwiproject.base.KiwiPreconditions.requireNotNull;

import com.google.common.annotations.Beta;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import org.junit.jupiter.api.TestInfo;
import org.xmlunit.assertj.CompareAssert;
Expand All @@ -20,7 +19,6 @@
* Or, you can use one of the convenience methods such as {@link #isIdenticalTo(Object)}
* which are useful for some common comparison scenarios.
*/
@Beta
public class KiwiXmlAssert {

private final Object o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import static java.util.Objects.nonNull;
import static org.kiwiproject.base.KiwiPreconditions.requireNotNull;

import com.google.common.annotations.Beta;
import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.junit.jupiter.api.TestInfo;
Expand All @@ -20,7 +19,6 @@
* @see ComparisonListener
*/
@Slf4j
@Beta
public class LoggingComparisonListener implements ComparisonListener {

private final String testName;
Expand Down