Skip to content

Commit f5ae447

Browse files
authored
Merge branch 'APIJSON:master' into master
2 parents dee213a + c9a0558 commit f5ae447

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>apijson.framework</groupId>
77
<artifactId>apijson-framework</artifactId>
8-
<version>6.0.0</version>
8+
<version>6.1.0</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONFramework</name>
@@ -35,19 +35,19 @@
3535
<dependency>
3636
<groupId>com.github.Tencent</groupId>
3737
<artifactId>APIJSON</artifactId>
38-
<version>6.0.0</version>
38+
<version>6.1.0</version>
3939
</dependency>
4040

4141
<!-- 数据库 JDBC 驱动 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -->
4242
<dependency>
4343
<groupId>mysql</groupId>
4444
<artifactId>mysql-connector-java</artifactId>
45-
<version>8.0.29</version>
45+
<version>8.0.33</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>org.postgresql</groupId>
4949
<artifactId>postgresql</artifactId>
50-
<version>42.3.4</version>
50+
<version>42.3.8</version>
5151
</dependency>
5252
<!-- 数据库 JDBC 驱动 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
5353

@@ -56,12 +56,12 @@
5656
<dependency>
5757
<groupId>com.github.TommyLemon</groupId>
5858
<artifactId>unitauto-java</artifactId>
59-
<version>2.7.2</version>
59+
<version>2.9.0</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>com.github.TommyLemon</groupId>
6363
<artifactId>unitauto-jar</artifactId>
64-
<version>2.7.2</version>
64+
<version>2.9.0</version>
6565
</dependency>
6666
<!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一 >>>>>>>>> -->
6767

@@ -72,6 +72,7 @@
7272
<plugin>
7373
<groupId>org.apache.maven.plugins</groupId>
7474
<artifactId>maven-compiler-plugin</artifactId>
75+
<version>3.8.1</version>
7576
<configuration>
7677
<source>1.8</source>
7778
<target>1.8</target>

src/main/java/apijson/framework/APIJSONFunctionParser.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,7 @@ public String getMethodArguments(@NotNull JSONObject curObj, String methodArgsKe
713713
/**改用 getMethodDefinition
714714
*/
715715
@Deprecated
716-
public String getMethodDefination(@NotNull JSONObject curObj)
717-
throws IllegalArgumentException, ClassNotFoundException, IOException {
716+
public String getMethodDefination(@NotNull JSONObject curObj) throws IllegalArgumentException {
718717
// curObj.put("arguments", removeComment(curObj.getString("methodArgs")));
719718
return getMethodDefination(curObj, "method", "arguments", "genericType", "genericExceptions", "Java");
720719
}
@@ -726,8 +725,7 @@ public String getMethodDefination(@NotNull JSONObject curObj)
726725
* @throws ClassNotFoundException
727726
* @throws IllegalArgumentException
728727
*/
729-
public String getMethodDefinition(@NotNull JSONObject curObj)
730-
throws IllegalArgumentException, ClassNotFoundException, IOException {
728+
public String getMethodDefinition(@NotNull JSONObject curObj) throws IllegalArgumentException {
731729
// curObj.put("arguments", removeComment(curObj.getString("methodArgs")));
732730
return getMethodDefinition(curObj, "method", "arguments", "genericType", "genericExceptions", "Java");
733731
}

0 commit comments

Comments
 (0)