From 2d39fcc67efca793e5dea092602ddea0315a35e9 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 6 Nov 2023 15:30:32 +0800 Subject: [PATCH] For checkstyle. --- .../com/alibaba/nacos/common/utils/ResourceUtilsTest.java | 5 +---- .../java/com/alibaba/nacos/common/utils/UuidUtilsTest.java | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/common/src/test/java/com/alibaba/nacos/common/utils/ResourceUtilsTest.java b/common/src/test/java/com/alibaba/nacos/common/utils/ResourceUtilsTest.java index 49fc2d73110..d678532572b 100644 --- a/common/src/test/java/com/alibaba/nacos/common/utils/ResourceUtilsTest.java +++ b/common/src/test/java/com/alibaba/nacos/common/utils/ResourceUtilsTest.java @@ -29,9 +29,6 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; -/** - * @author xiweng.yy - */ public class ResourceUtilsTest { @Test @@ -135,7 +132,7 @@ public void testGetResourceAsFile() throws IOException { } @Test - public void testGetResourceAsFileByURL() throws IOException { + public void testGetResourceAsFileByUrl() throws IOException { File file = ResourceUtils .getResourceAsFile(ResourceUtils.getResourceUrl("classpath:resource_utils_test.properties")); assertNotNull(file); diff --git a/common/src/test/java/com/alibaba/nacos/common/utils/UuidUtilsTest.java b/common/src/test/java/com/alibaba/nacos/common/utils/UuidUtilsTest.java index f81d7c182fd..1d40252d1e0 100644 --- a/common/src/test/java/com/alibaba/nacos/common/utils/UuidUtilsTest.java +++ b/common/src/test/java/com/alibaba/nacos/common/utils/UuidUtilsTest.java @@ -20,9 +20,6 @@ import java.util.UUID; -/** - * @author xiweng.yy - */ public class UuidUtilsTest { @Test