Skip to content

Commit

Permalink
[fix] fix the access modifier of the parseToJson method in the Abstra…
Browse files Browse the repository at this point in the history
…ctJsonFieldHandler class from public to protected
  • Loading branch information
VampireAchao committed Jun 26, 2023
1 parent 275c067 commit 5006d21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<revision>1.9.0</revision>
<revision>1.9.1</revision>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ public void setFieldInfo(TableFieldInfo fieldInfo) {
}

@Override
public T parse(String json) {
protected T parse(String json) {
return parse(json, tableInfo, fieldInfo);
}

@Override
public String toJson(T obj) {
protected String toJson(T obj) {
return toJson(obj, tableInfo, fieldInfo);
}

public abstract T parse(String json, TableInfo tableInfo, TableFieldInfo fieldInfo);
protected abstract T parse(String json, TableInfo tableInfo, TableFieldInfo fieldInfo);

public abstract String toJson(T obj, TableInfo tableInfo, TableFieldInfo fieldInfo);
protected abstract String toJson(T obj, TableInfo tableInfo, TableFieldInfo fieldInfo);
}

0 comments on commit 5006d21

Please sign in to comment.