style: 返回值警告消除

返回值警告消除
由 Result 为  Result<?>
由 Option 为 Option<Type>
This commit is contained in:
Theo
2024-08-02 23:43:40 +08:00
parent 8c6f95148d
commit e694ac5bb7
20 changed files with 69 additions and 69 deletions

View File

@@ -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;
}