Skip to content

Commit 6cfc35a

Browse files
committed
jakarta.servlet-api 从基于 JDK 1.8 的 4.0.3 改为基于 JDK 9 的 5.0.0
1 parent 53dd10f commit 6cfc35a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
<dependency>
2424
<groupId>jakarta.servlet</groupId>
2525
<artifactId>jakarta.servlet-api</artifactId>
26-
<version>4.0.3</version>
26+
<version>5.0.0</version>
27+
<scope>provided</scope>
2728
</dependency>
2829

2930
<!-- JDK 1.8~16, SpringBoot 1.4~2.7 -->

src/main/java/apijson/framework/APIJSONSQLConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ public class APIJSONSQLConfig<T extends Object> extends AbstractSQLConfig<T> {
5454
// TABLE_KEY_MAP.put(User.class.getSimpleName(), "apijson_user");
5555
// TABLE_KEY_MAP.put(Privacy.class.getSimpleName(), "apijson_privacy");
5656

57-
APIJSON_CREATOR = new APIJSONCreator<>();
57+
APIJSON_CREATOR = new APIJSONCreator<Object>();
5858

59-
SIMPLE_CALLBACK = new SimpleCallback<>() {
59+
SIMPLE_CALLBACK = new SimpleCallback<Object>() {
6060

6161
@Override
6262
public SQLConfig<Object> getSQLConfig(RequestMethod method, String database, String schema,String datasource, String table) {

0 commit comments

Comments
 (0)