From a7c00d8d3096c2f0249371e3f4cc3079751be7b3 Mon Sep 17 00:00:00 2001 From: Sumanth Reddy Bandi Date: Tue, 19 Mar 2024 11:57:01 -0400 Subject: [PATCH] FIX: NumberFormatException while trying to construct an Integer with @Value annotation (#15) --- README.md | 4 ++-- ejmask-api/pom.xml | 4 ++-- ejmask-bom/pom.xml | 4 ++-- ejmask-core/pom.xml | 4 ++-- ejmask-extensions/pom.xml | 4 ++-- ejmask-spring/ejmask-spring-autoconfig/pom.xml | 4 ++-- ejmask-spring/ejmask-spring-boot/pom.xml | 4 ++-- .../ejmask/spring/boot/autoconfig/EJMaskAutoConfig.java | 6 +++--- ejmask-spring/ejmask-spring-core/pom.xml | 4 ++-- ejmask-spring/pom.xml | 4 ++-- pom.xml | 4 ++-- 11 files changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 4a015a5..a5a6407 100644 --- a/README.md +++ b/README.md @@ -233,14 +233,14 @@ Alternatively you can pull it from the central Maven repositories: com.ebay.ejmask ejmask-bom - 1.0.1 + 1.0.2 ``` ### Using in your Gradle Project. ```groovy -compile group: 'com.ebay.ejmask', name: 'ejmask-bom', version: '1.0.1' +compile group: 'com.ebay.ejmask', name: 'ejmask-bom', version: '1.0.2' ``` ## Roadmap diff --git a/ejmask-api/pom.xml b/ejmask-api/pom.xml index d754351..417886a 100644 --- a/ejmask-api/pom.xml +++ b/ejmask-api/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.1 + 1.0.2 ejmask-api @@ -15,4 +15,4 @@ compile - \ No newline at end of file + diff --git a/ejmask-bom/pom.xml b/ejmask-bom/pom.xml index 63da6a9..07a0a03 100644 --- a/ejmask-bom/pom.xml +++ b/ejmask-bom/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.1 + 1.0.2 ../pom.xml @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/ejmask-core/pom.xml b/ejmask-core/pom.xml index b1d47c7..58805a7 100644 --- a/ejmask-core/pom.xml +++ b/ejmask-core/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.1 + 1.0.2 ejmask-core @@ -41,4 +41,4 @@ test - \ No newline at end of file + diff --git a/ejmask-extensions/pom.xml b/ejmask-extensions/pom.xml index e45089a..3acc040 100644 --- a/ejmask-extensions/pom.xml +++ b/ejmask-extensions/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.1 + 1.0.2 ejmask-extensions @@ -41,4 +41,4 @@ test - \ No newline at end of file + diff --git a/ejmask-spring/ejmask-spring-autoconfig/pom.xml b/ejmask-spring/ejmask-spring-autoconfig/pom.xml index 29320af..618f10c 100644 --- a/ejmask-spring/ejmask-spring-autoconfig/pom.xml +++ b/ejmask-spring/ejmask-spring-autoconfig/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-spring - 1.0.1 + 1.0.2 ejmask-spring-autoconfig @@ -29,4 +29,4 @@ spring-boot-starter - \ No newline at end of file + diff --git a/ejmask-spring/ejmask-spring-boot/pom.xml b/ejmask-spring/ejmask-spring-boot/pom.xml index f954f99..6cebed7 100644 --- a/ejmask-spring/ejmask-spring-boot/pom.xml +++ b/ejmask-spring/ejmask-spring-boot/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-spring - 1.0.1 + 1.0.2 ejmask-spring-boot @@ -50,4 +50,4 @@ test - \ No newline at end of file + diff --git a/ejmask-spring/ejmask-spring-boot/src/main/java/com/ebay/ejmask/spring/boot/autoconfig/EJMaskAutoConfig.java b/ejmask-spring/ejmask-spring-boot/src/main/java/com/ebay/ejmask/spring/boot/autoconfig/EJMaskAutoConfig.java index 6b9ccc2..9b07028 100644 --- a/ejmask-spring/ejmask-spring-boot/src/main/java/com/ebay/ejmask/spring/boot/autoconfig/EJMaskAutoConfig.java +++ b/ejmask-spring/ejmask-spring-boot/src/main/java/com/ebay/ejmask/spring/boot/autoconfig/EJMaskAutoConfig.java @@ -40,11 +40,11 @@ @ConditionalOnProperty(prefix = "ejmask.", name = "autoconfig", havingValue = "enabled", matchIfMissing = true) public class EJMaskAutoConfig { - @Value("ejmask.processor.content-slicer.priority:50") + @Value("${ejmask.processor.content-slicer.priority:50}") int contentSlicerPriority; - @Value("ejmask.processor.content-slicer.max-size:10000") + @Value("${ejmask.processor.content-slicer.max-size:10000}") int contentSlicerMaxStringLimit; - @Value("ejmask.processor.content-slicer.new-size:4000") + @Value("${ejmask.processor.content-slicer.new-size:4000}") int contentSlicerNewSize; diff --git a/ejmask-spring/ejmask-spring-core/pom.xml b/ejmask-spring/ejmask-spring-core/pom.xml index 139cf4a..812baa6 100644 --- a/ejmask-spring/ejmask-spring-core/pom.xml +++ b/ejmask-spring/ejmask-spring-core/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-spring - 1.0.1 + 1.0.2 ejmask-spring-core @@ -56,4 +56,4 @@ test - \ No newline at end of file + diff --git a/ejmask-spring/pom.xml b/ejmask-spring/pom.xml index 23d6d66..a8ceec4 100644 --- a/ejmask-spring/pom.xml +++ b/ejmask-spring/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.1 + 1.0.2 ejmask-spring @@ -27,4 +27,4 @@ - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 15a8e1c..0f635f1 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.ebay.ejmask ejmask-parent - 1.0.1 + 1.0.2 pom @@ -355,4 +355,4 @@ - \ No newline at end of file +