File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed
main/java/pl/project13/core/util
test/java/pl/project13/core/util Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 201201 <version >2.1.2</version >
202202 </dependency >
203203 <dependency >
204- <groupId >org.glassfish </groupId >
205- <artifactId >jakarta.json </artifactId >
206- <version >2.0.1 </version >
204+ <groupId >org.eclipse.parsson </groupId >
205+ <artifactId >parsson </artifactId >
206+ <version >1.1.4 </version >
207207 </dependency >
208208 <!-- yaml -->
209209 <dependency >
Original file line number Diff line number Diff line change 1717
1818package pl .project13 .core .util ;
1919
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 ;
2025import nu .studer .java .util .OrderedProperties ;
2126import pl .project13 .core .CannotReadFileException ;
2227
2328import 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 ;
2929import java .io .*;
3030import java .nio .charset .Charset ;
3131import java .util .Collections ;
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ public void testDumpWithFlatGitProperty() throws Exception {
5252 // then
5353 Assert .assertEquals (
5454 Arrays .asList (
55- "" ,
5655 "{" ,
5756 " \" git.commit.id\" : \" beef4e92e9cabd043b105a14514289f331b40bf2\" ," ,
5857 " \" git.commit.id.abbrev\" : \" beef4e9\" " ,
@@ -101,7 +100,6 @@ public void testDumpWithFullGitProperty() throws Exception {
101100 // then
102101 Assert .assertEquals (
103102 Arrays .asList (
104- "" ,
105103 "{" ,
106104 " \" git.commit.id.abbrev\" : \" beef4e9\" ," ,
107105 " \" git.commit.id.full\" : \" beef4e92e9cabd043b105a14514289f331b40bf2\" " ,
@@ -150,7 +148,6 @@ public void testDumpWithUnicode() throws Exception {
150148 // then
151149 Assert .assertEquals (
152150 Arrays .asList (
153- "" ,
154151 "{" ,
155152 " \" git.commit.message.full\" : \" initial commit on test project with some special characters äöüàñ.\" ," ,
156153 " \" git.commit.user.name\" : \" Александр Eliáš\" " ,
You can’t perform that action at this time.
0 commit comments