Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
shalousun authored Jan 21, 2024
2 parents 1612f8f + 37e4ac7 commit c3929bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private void initClassFilesMap() {
enumClass = classLoader.loadClass(cls.getFullyQualifiedName());
}
enumClassMap.put(cls.getFullyQualifiedName(), enumClass);
} catch (ClassNotFoundException e) {
} catch (ClassNotFoundException | NoClassDefFoundError e) {
continue;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/ly/doc/template/IRestDocTemplate.java
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ default ApiRequestExample buildReqJson(DocJavaMethod javaMethod, ApiMethodDoc ap
if (!JavaClassValidateUtil.isPrimitive(gicName)
&& !configBuilder.getJavaProjectBuilder().getClassByName(gicName).isEnum()) {
throw new RuntimeException("can't support binding Collection on method "
+ method.getName() + "Check it in " + method.getDeclaringClass().getCanonicalName());
+ method.getName() + " Check it in " + method.getDeclaringClass().getCanonicalName());
}
String value;
JavaClass javaClass1 = configBuilder.getClassByName(gicName);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/ly/doc/utils/TornaUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static void pushToTorna(TornaApi tornaApi, ApiConfig apiConfig, JavaProje
return;
}
// Push all documents
if (null != apiConfig.getApiUploadNums()) {
if(apiConfig.getApiUploadNums() == null){
pushToTornaAll(tornaApi, apiConfig, builder);
return;
}
Expand Down

0 comments on commit c3929bc

Please sign in to comment.