fix: 后端代码格式化

This commit is contained in:
Tim
2025-09-18 14:42:25 +08:00
parent 70f7442f0c
commit 72b2b82e02
325 changed files with 15341 additions and 12370 deletions

View File

@@ -9,11 +9,11 @@ import lombok.Getter;
*/
@Getter
public class FieldException extends RuntimeException {
private final String field;
public FieldException(String field, String message) {
super(message);
this.field = field;
}
private final String field;
public FieldException(String field, String message) {
super(message);
this.field = field;
}
}

View File

@@ -4,7 +4,8 @@ package com.openisle.exception;
* Exception representing a missing resource such as a post or user.
*/
public class NotFoundException extends RuntimeException {
public NotFoundException(String message) {
super(message);
}
public NotFoundException(String message) {
super(message);
}
}

View File

@@ -4,7 +4,8 @@ package com.openisle.exception;
* Exception thrown when a user exceeds allowed action rate.
*/
public class RateLimitException extends RuntimeException {
public RateLimitException(String message) {
super(message);
}
public RateLimitException(String message) {
super(message);
}
}