mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-15 06:27:21 +00:00
(improvement)[build] Use Spotless to customize the code formatting (#1750)
This commit is contained in:
@@ -4,8 +4,7 @@ import com.tencent.supersonic.common.pojo.exception.InvalidArgumentException;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
public enum MemoryReviewResult {
|
||||
POSITIVE,
|
||||
NEGATIVE;
|
||||
POSITIVE, NEGATIVE;
|
||||
|
||||
public static MemoryReviewResult getMemoryReviewResult(String value) {
|
||||
String validValue = StringUtils.trim(value);
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package com.tencent.supersonic.chat.api.pojo.enums;
|
||||
|
||||
public enum MemoryStatus {
|
||||
PENDING,
|
||||
ENABLED,
|
||||
DISABLED;
|
||||
PENDING, ENABLED, DISABLED;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,8 @@ public class KnowledgeInfoReq {
|
||||
|
||||
private String bizName;
|
||||
/** type: IntentionTypeEnum temporarily only supports dimension-related information */
|
||||
@NotNull private TypeEnums type = TypeEnums.DIMENSION;
|
||||
@NotNull
|
||||
private TypeEnums type = TypeEnums.DIMENSION;
|
||||
|
||||
private Boolean searchEnable = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user