去除 Lombok。

feature/net-util
ZhouXY108 2023-04-15 21:58:41 +08:00
parent 79a729bd75
commit de835797e3
2 changed files with 8 additions and 4 deletions

View File

@ -3,17 +3,19 @@ package xyz.zhouxy.plusone.commons;
import static org.junit.jupiter.api.Assertions.assertTrue;
import com.google.common.collect.Lists;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import xyz.zhouxy.plusone.commons.util.Enumeration;
import javax.annotation.Nonnull;
import java.util.Collection;
@Slf4j
class EnumerationTests {
private static final Logger log = LoggerFactory.getLogger(EnumerationTests.class);
@Test
void testEnumeration() {
assertTrue(EntityStatus.AVAILABLE == EntityStatus.of(0));

View File

@ -3,11 +3,13 @@ package xyz.zhouxy.plusone.commons.util;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Slf4j
class NumberUtilTest {
private static final Logger log = LoggerFactory.getLogger(NumberUtilTest.class);
@Test
void testSum() {
long result = 0;