style: 返回值警告消除
返回值警告消除 由 Result 为 Result<?> 由 Option 为 Option<Type>
This commit is contained in:
1 parent
8c6f95148d
commit
e694ac5bb7
20 files changed
+69
-69
No files matched your search
@@ -23,7 +23,7 @@ public class Option<T> {
|
||||
this.label = label;
|
||||
}
|
||||
|
||||
public Option(T value, String label, List<Option> children) {
|
||||
public Option(T value, String label, List<Option<T>> children) {
|
||||
this.value = value;
|
||||
this.label = label;
|
||||
this.children= children;
|
||||
@@ -37,6 +37,6 @@ public class Option<T> {
|
||||
|
||||
@Schema(description="子选项列表")
|
||||
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
|
||||
private List<Option> children;
|
||||
private List<Option<T>> children;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user