(improvement)[build] Use Spotless to customize the code formatting (#1750)

This commit is contained in:
lexluo09
2024-10-04 00:05:04 +08:00
committed by GitHub
parent 44d1cde34f
commit 71a9954be5
521 changed files with 7811 additions and 13046 deletions

View File

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

View File

@@ -1,7 +1,5 @@
package com.tencent.supersonic.chat.api.pojo.enums;
public enum MemoryStatus {
PENDING,
ENABLED,
DISABLED;
PENDING, ENABLED, DISABLED;
}

View File

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