File tree 4 files changed +14
-9
lines changed
src/main/java/com/github/fge/jsonpatch
4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 5
5
out
6
6
build
7
7
.gradle
8
-
8
+ .sdkmanrc
Original file line number Diff line number Diff line change @@ -23,11 +23,15 @@ buildscript {
23
23
mavenCentral()
24
24
maven {
25
25
url " https://repo.spring.io/plugins-snapshot" ;
26
+ content {
27
+ includeGroupByRegex " io\\ .spring\\ .gradle\\ .*"
28
+ }
26
29
}
27
30
}
28
31
dependencies {
29
32
classpath ' biz.aQute.bnd:biz.aQute.bnd.gradle:4.2.0'
30
33
classpath ' io.spring.gradle:propdeps-plugin:0.0.8-SNAPSHOT'
34
+ classpath ' org.owasp:dependency-check-gradle:8.2.1'
31
35
}
32
36
};
33
37
@@ -51,7 +55,7 @@ apply(plugin: "biz.aQute.bnd.builder");
51
55
apply(plugin : " idea" );
52
56
apply(plugin : " eclipse" );
53
57
apply(plugin : " net.ltgt.errorprone" );
54
-
58
+ apply( plugin : ' org.owasp.dependencycheck ' );
55
59
apply(from : " project.gradle" );
56
60
57
61
group = " com.github.java-json-tools" ;
@@ -70,7 +74,7 @@ repositories {
70
74
* Add errorprone checking.
71
75
*/
72
76
dependencies {
73
- errorprone(' com.google.errorprone:error_prone_core:2.18 .0' )
77
+ errorprone(' com.google.errorprone:error_prone_core:2.20 .0' )
74
78
errorproneJavac(" com.google.errorprone:javac:9+181-r4173-1" )
75
79
}
76
80
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ project.ext.description = "JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7386)
30
30
*/
31
31
dependencies {
32
32
provided(group : " com.google.code.findbugs" , name : " jsr305" , version : " 3.0.2" );
33
- compile(group : " com.fasterxml.jackson.core" , name : " jackson-databind" , version : " 2.11.0 " );
34
- compile(group : ' com.jayway.jsonpath' , name : ' json-path' , version : ' 2.6 .0' )
33
+ compile(group : " com.fasterxml.jackson.core" , name : " jackson-databind" , version : " 2.15.2 " );
34
+ compile(group : ' com.jayway.jsonpath' , name : ' json-path' , version : ' 2.8 .0' )
35
35
compile(group : " com.github.java-json-tools" , name : " msg-simple" , version : " 1.2" );
36
36
compile(group : " com.github.java-json-tools" , name : " jackson-coreutils" , version : " 2.0" );
37
37
testCompile(group : " org.testng" , name : " testng" , version : " 7.1.0" ) {
Original file line number Diff line number Diff line change 33
33
import com .jayway .jsonpath .spi .json .JsonProvider ;
34
34
import com .jayway .jsonpath .spi .mapper .JacksonMappingProvider ;
35
35
import com .jayway .jsonpath .spi .mapper .MappingProvider ;
36
-
37
36
import java .util .EnumSet ;
38
37
import java .util .Set ;
39
38
40
- import static com .fasterxml .jackson .annotation .JsonSubTypes .*;
41
- import static com .fasterxml .jackson .annotation .JsonTypeInfo .*;
39
+ import static com .fasterxml .jackson .annotation .JsonSubTypes .Type ;
40
+ import static com .fasterxml .jackson .annotation .JsonTypeInfo .As ;
41
+ import static com .fasterxml .jackson .annotation .JsonTypeInfo .Id ;
42
42
43
43
@ JsonTypeInfo (use = Id .NAME , include = As .PROPERTY , property = "op" )
44
44
51
51
@ Type (name = "test" , value = TestOperation .class )
52
52
})
53
53
54
- /**
54
+ /*
55
55
* Base abstract class for one patch operation
56
56
*
57
57
* <p>Two more abstract classes extend this one according to the arguments of
63
63
* <li>{@link PathValueOperation} for operations taking a value as an
64
64
* argument ({@code add}, {@code replace} and {@code test}).</li>
65
65
* </ul>
66
+ *
66
67
*/
67
68
@ JsonIgnoreProperties (ignoreUnknown = true )
68
69
public abstract class JsonPatchOperation implements JsonSerializable {
You can’t perform that action at this time.
0 commit comments