Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberFormatException while trying to construct an Integer with @Value annotation #15

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,14 @@ Alternatively you can pull it from the central Maven repositories:
<dependency>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-bom</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
```

### 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
Expand Down
4 changes: 2 additions & 2 deletions ejmask-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-parent</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>ejmask-api</artifactId>
Expand All @@ -15,4 +15,4 @@
<scope>compile</scope>
</dependency>
</dependencies>
</project>
</project>
4 changes: 2 additions & 2 deletions ejmask-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-parent</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -49,4 +49,4 @@
</dependency>
</dependencies>
</dependencyManagement>
</project>
</project>
4 changes: 2 additions & 2 deletions ejmask-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-parent</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>ejmask-core</artifactId>
Expand Down Expand Up @@ -41,4 +41,4 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
</project>
4 changes: 2 additions & 2 deletions ejmask-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-parent</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>ejmask-extensions</artifactId>
Expand Down Expand Up @@ -41,4 +41,4 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
</project>
4 changes: 2 additions & 2 deletions ejmask-spring/ejmask-spring-autoconfig/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-spring</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>ejmask-spring-autoconfig</artifactId>
Expand All @@ -29,4 +29,4 @@
<artifactId>spring-boot-starter</artifactId>
</dependency>
</dependencies>
</project>
</project>
4 changes: 2 additions & 2 deletions ejmask-spring/ejmask-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-spring</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>ejmask-spring-boot</artifactId>
Expand Down Expand Up @@ -50,4 +50,4 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down
4 changes: 2 additions & 2 deletions ejmask-spring/ejmask-spring-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-spring</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>ejmask-spring-core</artifactId>
Expand Down Expand Up @@ -56,4 +56,4 @@
<scope>test</scope>
</dependency>
</dependencies>
</project>
</project>
4 changes: 2 additions & 2 deletions ejmask-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-parent</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</parent>

<artifactId>ejmask-spring</artifactId>
Expand All @@ -27,4 +27,4 @@
</dependency>
</dependencies>
</dependencyManagement>
</project>
</project>
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.ebay.ejmask</groupId>
<artifactId>ejmask-parent</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>

<packaging>pom</packaging>

Expand Down Expand Up @@ -355,4 +355,4 @@
</build>
</profile>
</profiles>
</project>
</project>
Loading