This repository was archived by the owner on Oct 31, 2024. It is now read-only.
File tree 6 files changed +6
-6
lines changed
jmespath-core/src/test/java/io/burt/jmespath
jmespath-gson/src/test/java/io/burt/jmespath/gson
jmespath-jackson/src/test/java/io/burt/jmespath/jackson
jmespath-jakarta-jsonp/src/test/java/io/burt/jmespath/jakarta/jsonp
jmespath-vertx/src/test/java/io/burt/jmespath/vertx
6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 31
31
import static org .hamcrest .Matchers .containsString ;
32
32
33
33
public abstract class JmesPathRuntimeTest <T > {
34
- private Adapter <T > runtime = createRuntime (RuntimeConfiguration .defaultConfiguration ());
34
+ private final Adapter <T > runtime = createRuntime (RuntimeConfiguration .defaultConfiguration ());
35
35
36
36
protected T contact ;
37
37
protected T cloudtrail ;
Original file line number Diff line number Diff line change 4
4
import io .burt .jmespath .Adapter ;
5
5
6
6
public class JcfComplianceTest extends JmesPathComplianceTest <Object > {
7
- private Adapter <Object > runtime = new JcfRuntime ();
7
+ private final Adapter <Object > runtime = new JcfRuntime ();
8
8
9
9
@ Override
10
10
protected Adapter <Object > runtime () { return runtime ; }
Original file line number Diff line number Diff line change 5
5
import io .burt .jmespath .JmesPathComplianceTest ;
6
6
7
7
public class GsonComplianceTest extends JmesPathComplianceTest <JsonElement > {
8
- private Adapter <JsonElement > runtime = new GsonRuntime ();
8
+ private final Adapter <JsonElement > runtime = new GsonRuntime ();
9
9
10
10
@ Override
11
11
protected Adapter <JsonElement > runtime () {
Original file line number Diff line number Diff line change 6
6
import io .burt .jmespath .Adapter ;
7
7
8
8
public class JacksonComplianceTest extends JmesPathComplianceTest <JsonNode > {
9
- private Adapter <JsonNode > runtime = new JacksonRuntime ();
9
+ private final Adapter <JsonNode > runtime = new JacksonRuntime ();
10
10
11
11
@ Override
12
12
protected Adapter <JsonNode > runtime () { return runtime ; }
Original file line number Diff line number Diff line change 6
6
import javax .json .JsonValue ;
7
7
8
8
public class JsonpComplianceTest extends JmesPathComplianceTest <JsonValue > {
9
- private Adapter <JsonValue > runtime = new JsonpRuntime ();
9
+ private final Adapter <JsonValue > runtime = new JsonpRuntime ();
10
10
11
11
@ Override
12
12
protected Adapter <JsonValue > runtime () { return runtime ; }
Original file line number Diff line number Diff line change 4
4
import io .burt .jmespath .Adapter ;
5
5
6
6
public class VertxComplianceTest extends JmesPathComplianceTest <Object > {
7
- private Adapter <Object > runtime = new VertxRuntime ();
7
+ private final Adapter <Object > runtime = new VertxRuntime ();
8
8
9
9
@ Override
10
10
protected Adapter <Object > runtime () { return runtime ; }
You can’t perform that action at this time.
0 commit comments