Skip to content

Commit d96b1b7

Browse files
committed
rename 'NewJSONObject' to 'EasyJSONObject'
1 parent f21209d commit d96b1b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/translate/NewJSONObject.java renamed to src/main/java/translate/EasyJSONObject.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import com.alibaba.fastjson.JSONObject;
44
import com.alibaba.fastjson.parser.Feature;
55

6-
public class NewJSONObject extends JSONObject {
7-
public NewJSONObject() {
6+
public class EasyJSONObject extends JSONObject {
7+
public EasyJSONObject() {
88
super();
99
}
1010
public static JSONObject parseObject(String text, boolean ordered) {

src/main/java/translate/Trans.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public Trans (String path) throws IOException, FileNotFoundException {
1818
content.append(rf.readLine());
1919
}
2020
rf.close();
21-
object = NewJSONObject.parseObject(content.toString(), true);
21+
object = EasyJSONObject.parseObject(content.toString(), true);
2222
}
2323

2424
public String tr(String key) {

0 commit comments

Comments
 (0)