Skip to content

Commit

Permalink
Stability: remove Beta annotations from several classes
Browse files Browse the repository at this point in the history
These classes are now deemed to be stable.

Closes #471
Closes #472
Closes #473
Closes #474
Closes #475
Closes #476
  • Loading branch information
sleberknight committed Apr 28, 2024
1 parent 333aee1 commit 295c6e0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
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

0 comments on commit 295c6e0

Please sign in to comment.