File tree Expand file tree Collapse file tree 8 files changed +78
-6
lines changed
main/java/org/everit/json/schema
test/java/org/everit/json/schema Expand file tree Collapse file tree 8 files changed +78
-6
lines changed Original file line number Diff line number Diff line change 26
26
</parent >
27
27
<groupId >org.everit.json</groupId >
28
28
<artifactId >org.everit.json.schema</artifactId >
29
- <version >1.1.2-SNAPSHOT </version >
29
+ <version >1.2.0 </version >
30
30
<packaging >bundle</packaging >
31
31
<properties >
32
32
<projectpath >json-schema-validator</projectpath >
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (C) 2011 Everit Kft. (http://www.everit.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
package org .everit .json .schema ;
2
17
3
18
import java .util .Arrays ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (C) 2011 Everit Kft. (http://www.everit.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
package org .everit .json .schema ;
2
17
3
18
import java .util .Optional ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (C) 2011 Everit Kft. (http://www.everit.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
package org .everit .json .schema .internal ;
2
17
3
18
import java .net .InetAddress ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (C) 2011 Everit Kft. (http://www.everit.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
package org .everit .json .schema ;
2
17
3
18
import java .util .Arrays ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (C) 2011 Everit Kft. (http://www.everit.org)
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
1
16
package org .everit .json .schema .internal ;
2
17
3
18
import java .util .Optional ;
4
19
5
- import org .apache .commons .validator .routines .EmailValidator ;
6
20
import org .everit .json .schema .Format ;
7
21
import org .junit .Assert ;
8
22
import org .junit .Test ;
@@ -55,8 +69,6 @@ public void emailFailure() {
55
69
@ Test
56
70
public void emailSuccess () {
57
71
assertSuccess (
"[email protected] " ,
Format .
EMAIL );
58
- Assert .
assertTrue (
EmailValidator .
getInstance ().
isValid (
"[email protected] " ));
59
- Assert .
assertFalse (
EmailValidator .
getInstance ().
isValid (
"[email protected] " ));
60
72
}
61
73
62
74
@ Test
Original file line number Diff line number Diff line change 29
29
30
30
<groupId >org.everit.json</groupId >
31
31
<artifactId >org.everit.json.schema.parent</artifactId >
32
- <version >1.1.2-SNAPSHOT </version >
32
+ <version >1.2.0 </version >
33
33
34
34
<packaging >pom</packaging >
35
35
Original file line number Diff line number Diff line change 24
24
<parent >
25
25
<groupId >org.everit.json</groupId >
26
26
<artifactId >org.everit.json.schema.parent</artifactId >
27
- <version >1.1.2-SNAPSHOT </version >
27
+ <version >1.2.0 </version >
28
28
</parent >
29
29
30
30
<artifactId >org.everit.json.schema.tests</artifactId >
You can’t perform that action at this time.
0 commit comments