diff --git a/README.md b/README.md
index 7a31e10e..031c78ee 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,12 @@
-# Java 基础学习
+
+Java 基础
-[![Java Version](https://img.shields.io/badge/JDK-Java%208-red.svg)](https://www.java.com/zh_CN/download/)
-[![Gradle 5.3](https://img.shields.io/badge/Gradle-5.3-green.svg)](https://docs.gradle.org/5.3/userguide/userguide.html)
-[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)
-[![codebeat badge](https://codebeat.co/badges/9145f9a8-a1aa-4c67-bb2b-f9dd12e924d4)](https://codebeat.co/projects/github-com-kuangcp-javabase-master)
-[![Maintainability](https://api.codeclimate.com/v1/badges/23134c0d2348845fecec/maintainability)](https://codeclimate.com/github/Kuangcp/JavaBase/maintainability)
+
+
+
+
+
+
************************
@@ -16,8 +18,6 @@
| [Java Gui](/gui) | [测试](/test) | [业务问题](/question) |
-
-
************************
## 同类仓库
diff --git a/web/src/test/java/com/github/kuangcp/validation/BeanValidatorTest.java b/web/src/test/java/com/github/kuangcp/validation/BeanValidatorTest.java
index 0fda64b0..16266e82 100644
--- a/web/src/test/java/com/github/kuangcp/validation/BeanValidatorTest.java
+++ b/web/src/test/java/com/github/kuangcp/validation/BeanValidatorTest.java
@@ -7,45 +7,45 @@
@Slf4j
public class BeanValidatorTest {
- @Test
- public void testValid() {
- TestParam param = new TestParam();
- param.setState(ActiveState.ACTIVE);
- param.setStr(StrState.SECOND);
- BeanValidator.check(param);
- }
+ @Test
+ public void testValid() {
+ TestParam param = new TestParam();
+ param.setState(ActiveState.ACTIVE);
+ param.setStr(StrState.SECOND);
+ BeanValidator.check(param);
+ }
- @Test
- public void testInvalid() {
- TestParam param = new TestParam();
- param.setState(-1);
- param.setStr(StrState.SECOND);
- try {
- BeanValidator.check(param);
- Assert.fail();
- } catch (Exception e) {
- Assert.assertEquals(e.getMessage(), ErrorMsgConstant.STATE_ERROR);
+ @Test
+ public void testInvalid() {
+ TestParam param = new TestParam();
+ param.setState(-1);
+ param.setStr(StrState.SECOND);
+ try {
+ BeanValidator.check(param);
+ Assert.fail();
+ } catch (Exception e) {
+ Assert.assertEquals(e.getMessage(), ErrorMsgConstant.STATE_ERROR);
+ }
}
- }
- @Test
- public void testValidStr() {
- TestParam param = new TestParam();
- param.setStr(StrState.SECOND);
- param.setState(ActiveState.NONE);
- BeanValidator.check(param);
- }
+ @Test
+ public void testValidStr() {
+ TestParam param = new TestParam();
+ param.setStr(StrState.SECOND);
+ param.setState(ActiveState.NONE);
+ BeanValidator.check(param);
+ }
- @Test
- public void testInvalidStr() {
- TestParam param = new TestParam();
- param.setStr("2s");
- param.setState(3);
- try {
- BeanValidator.check(param);
- Assert.fail();
- } catch (Exception e) {
- Assert.assertEquals(e.getMessage(), ErrorMsgConstant.STR_STATE_ERROR);
+ @Test
+ public void testInvalidStr() {
+ TestParam param = new TestParam();
+ param.setStr("2s");
+ param.setState(3);
+ try {
+ BeanValidator.check(param);
+ Assert.fail();
+ } catch (Exception e) {
+ Assert.assertEquals(e.getMessage(), ErrorMsgConstant.STR_STATE_ERROR);
+ }
}
- }
}