From 198d95dba9ee33de51272d44f580a2b225057410 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Sat, 4 Jun 2022 15:30:42 -0400 Subject: [PATCH] =?UTF-8?q?=E7=90=86=E8=A7=A3=20Java=20=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=20NumberFormatException=20=E5=BC=82=E5=B8=B8=20https://www.oss?= =?UTF-8?q?ez.com/t/java-numberformatexception/13986=20=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=88=B0=E5=88=97=E8=A1=A8=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对 numbers 模块进行初始化和格式化 --- .idea/workspace.xml | 26 +++++---- core-java-modules/core-java-numbers/README.md | 7 +++ core-java-modules/core-java-numbers/pom.xml | 55 +++++++++++++++++++ .../src/main/resources/logback.xml | 13 +++++ .../src/test/resources/numbers.txt | 1 + 5 files changed, 90 insertions(+), 12 deletions(-) create mode 100644 core-java-modules/core-java-numbers/README.md create mode 100644 core-java-modules/core-java-numbers/pom.xml create mode 100644 core-java-modules/core-java-numbers/src/main/resources/logback.xml create mode 100644 core-java-modules/core-java-numbers/src/test/resources/numbers.txt diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f238611c08..fa6197841d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,9 @@ - @@ -737,7 +738,8 @@ - diff --git a/core-java-modules/core-java-numbers/README.md b/core-java-modules/core-java-numbers/README.md new file mode 100644 index 0000000000..f2bd59fec9 --- /dev/null +++ b/core-java-modules/core-java-numbers/README.md @@ -0,0 +1,7 @@ +## Java 数字(Number) + +This module contains articles about strings in Java. + +### 相关文章 +- [理解 Java 中的 NumberFormatException 异常](https://www.ossez.com/t/java-numberformatexception/13986) +- \ No newline at end of file diff --git a/core-java-modules/core-java-numbers/pom.xml b/core-java-modules/core-java-numbers/pom.xml new file mode 100644 index 0000000000..ed8f98885b --- /dev/null +++ b/core-java-modules/core-java-numbers/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + core-java-numbers + core-java-strings + jar + + + com.ossez + parent-modules + 0.0.2-SNAPSHOT + ../pom.xml + + + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + + + org.openjdk.jmh + jmh-core + ${jmh-core.version} + + + org.openjdk.jmh + jmh-generator-annprocess + ${jmh-generator.version} + + + com.ibm.icu + icu4j + ${icu4j.version} + + + + + core-java-strings + + + src/main/resources + true + + + + + + 61.1 + 15 + + + \ No newline at end of file diff --git a/core-java-modules/core-java-numbers/src/main/resources/logback.xml b/core-java-modules/core-java-numbers/src/main/resources/logback.xml new file mode 100644 index 0000000000..7d900d8ea8 --- /dev/null +++ b/core-java-modules/core-java-numbers/src/main/resources/logback.xml @@ -0,0 +1,13 @@ + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + \ No newline at end of file diff --git a/core-java-modules/core-java-numbers/src/test/resources/numbers.txt b/core-java-modules/core-java-numbers/src/test/resources/numbers.txt new file mode 100644 index 0000000000..43dd47ea69 --- /dev/null +++ b/core-java-modules/core-java-numbers/src/test/resources/numbers.txt @@ -0,0 +1 @@ +one \ No newline at end of file