Skip to content

Commit 20a76a8

Browse files
committed
Add testcode
1 parent 4423dc8 commit 20a76a8

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.example</groupId>
6+
<artifactId>dummy-root</artifactId>
7+
<version>0.1.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
<properties>
10+
<maven.compiler.target>17</maven.compiler.target>
11+
<maven.compiler.source>17</maven.compiler.source>
12+
</properties>
13+
<dependencies>
14+
<dependency>
15+
<groupId>javax.validation</groupId>
16+
<artifactId>validation-api</artifactId>
17+
<version>2.0.1.Final</version>
18+
</dependency>
19+
</dependencies>
20+
21+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import javax.validation.constraints.Min;
2+
class AnnotatedClass {
3+
@Min(8)
4+
private int var1;
5+
}

0 commit comments

Comments
 (0)