File tree Expand file tree Collapse file tree 3 files changed +10
-13
lines changed
main/java/pl/project13/core/util
test/java/pl/project13/core/util Expand file tree Collapse file tree 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 196
196
</dependency >
197
197
<!-- json stuff -->
198
198
<dependency >
199
- <groupId >javax .json</groupId >
200
- <artifactId >javax .json-api</artifactId >
201
- <version >1 .1.4 </version >
199
+ <groupId >jakarta .json</groupId >
200
+ <artifactId >jakarta .json-api</artifactId >
201
+ <version >2 .1.2 </version >
202
202
</dependency >
203
203
<dependency >
204
- <groupId >org.glassfish </groupId >
205
- <artifactId >javax.json </artifactId >
204
+ <groupId >org.eclipse.parsson </groupId >
205
+ <artifactId >parsson </artifactId >
206
206
<version >1.1.4</version >
207
207
</dependency >
208
208
<!-- yaml -->
Original file line number Diff line number Diff line change 17
17
18
18
package pl .project13 .core .util ;
19
19
20
+ import jakarta .json .Json ;
21
+ import jakarta .json .JsonReader ;
22
+ import jakarta .json .JsonString ;
23
+ import jakarta .json .stream .JsonGenerator ;
24
+ import jakarta .json .stream .JsonGeneratorFactory ;
20
25
import nu .studer .java .util .OrderedProperties ;
21
26
import pl .project13 .core .CannotReadFileException ;
22
27
23
28
import javax .annotation .Nonnull ;
24
- import javax .json .Json ;
25
- import javax .json .JsonReader ;
26
- import javax .json .JsonString ;
27
- import javax .json .stream .JsonGenerator ;
28
- import javax .json .stream .JsonGeneratorFactory ;
29
29
import java .io .*;
30
30
import java .nio .charset .Charset ;
31
31
import java .util .Collections ;
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ public void testDumpWithFlatGitProperty() throws Exception {
52
52
// then
53
53
Assert .assertEquals (
54
54
Arrays .asList (
55
- "" ,
56
55
"{" ,
57
56
" \" git.commit.id\" : \" beef4e92e9cabd043b105a14514289f331b40bf2\" ," ,
58
57
" \" git.commit.id.abbrev\" : \" beef4e9\" " ,
@@ -101,7 +100,6 @@ public void testDumpWithFullGitProperty() throws Exception {
101
100
// then
102
101
Assert .assertEquals (
103
102
Arrays .asList (
104
- "" ,
105
103
"{" ,
106
104
" \" git.commit.id.abbrev\" : \" beef4e9\" ," ,
107
105
" \" git.commit.id.full\" : \" beef4e92e9cabd043b105a14514289f331b40bf2\" " ,
@@ -150,7 +148,6 @@ public void testDumpWithUnicode() throws Exception {
150
148
// then
151
149
Assert .assertEquals (
152
150
Arrays .asList (
153
- "" ,
154
151
"{" ,
155
152
" \" git.commit.message.full\" : \" initial commit on test project with some special characters äöüàñ.\" ," ,
156
153
" \" git.commit.user.name\" : \" Александр Eliáš\" " ,
You can’t perform that action at this time.
0 commit comments