Skip to content

Commit b3ecf65

Browse files
committed
d
1 parent b4f9f88 commit b3ecf65

File tree

7 files changed

+28
-16
lines changed

7 files changed

+28
-16
lines changed

SNX_01/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sourceSets {e
2727

2828
dependencies {
2929
implementation 'org.scala-lang:scala-library:2.13.1'
30-
implementation 'com.github.cekvenich:SNX:0.0.106'
30+
implementation 'com.github.cekvenich:SNX:0.0.108'
3131
}
3232
application {
3333
mainClassName = 'DBApp'

SNX_02/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sourceSets {e
2727

2828
dependencies {
2929
implementation 'org.scala-lang:scala-library:2.13.1'
30-
implementation 'com.github.cekvenich:SNX:0.0.106'
30+
implementation 'com.github.cekvenich:SNX:0.0.108'
3131
}
3232
application {
3333
mainClassName = 'DBApp'

SNXj_90/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ targetCompatibility = JavaVersion.VERSION_11
2222
}*/
2323

2424
dependencies {
25-
implementation 'com.github.cekvenich:SNX:0.0.106'
25+
implementation 'com.github.cekvenich:SNX:0.0.108'
2626
}
2727
application {
2828
// Define the main class for the application.

SNXj_90/src/main/java/org/SNXex/db/LoadS3.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class LoadS3 {
1919
Log LOG = LogFactory.getLog(MethodHandles.lookup().lookupClass());
2020
Faker _faker = new Faker();
2121

22-
String prefix = "2020/01/16/APAC";
22+
String prefix = "2020/01/18/APAC";
2323

2424
public void load(BasicS3Util s3) throws Throwable {
2525
_s3 = s3;

SNXtst/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ targetCompatibility = JavaVersion.VERSION_11
2121
}*/
2222

2323
dependencies {
24-
implementation 'com.github.cekvenich:SNX:0.0.106'
24+
implementation 'com.github.cekvenich:SNX:0.0.108'
2525

2626

2727

deleted/src/main/java/org/apache/SNX/SNX.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class SNX {
66
* Just print out some version / info
77
*/
88
public String getSNX() {
9-
String ver = "V: 0.0.106";
9+
String ver = "V: 0.0.108";
1010
System.out.println(ver);
1111
return ver;
1212
}

deleted/src/main/java/org/apache/SNX/util/JACodecUtil.java

+22-10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
public class JACodecUtil {
1818

19-
static public String toJ(List lst) {
19+
static public String toJ(List lst) throws Throwable {
2020
try {
2121
JSONArray list = new JSONArray();
2222
list.addAll(lst);
@@ -27,7 +27,7 @@ static public String toJ(List lst) {
2727
}
2828
}
2929

30-
static public String toJ(Map m) {
30+
static public String toJ(Map m) throws Throwable {
3131
try {
3232
JSONObject obj = new JSONObject();
3333
obj.putAll(m);
@@ -39,16 +39,28 @@ static public String toJ(Map m) {
3939

4040
}
4141

42-
static public Map toMap(String s) throws ParseException {
43-
JSONParser _parser = new JSONParser();
44-
Object obj = _parser.parse(s);
45-
return (JSONObject) obj;
42+
static public Map toMap(String s) throws Throwable {
43+
try {
44+
JSONParser _parser = new JSONParser();
45+
Object obj = _parser.parse(s);
46+
return (JSONObject) obj;
47+
48+
} catch (Throwable t) {
49+
System.err.println(s);
50+
throw t;
51+
}
4652
}
4753

48-
static public List toList(String s) throws ParseException {
49-
JSONParser _parser = new JSONParser();
50-
Object obj = _parser.parse(s);
51-
return (JSONArray) obj;
54+
static public List toList(String s) throws Throwable {
55+
try {
56+
JSONParser _parser = new JSONParser();
57+
Object obj = _parser.parse(s);
58+
return (JSONArray) obj;
59+
60+
} catch (Throwable t) {
61+
System.err.println(s);
62+
throw t;
63+
}
5264
}
5365

5466
/**

0 commit comments

Comments
 (0)