forked from plusone/plusone-commons
refactor: UnifiedResponse
的字段为 final
This commit is contained in:
parent
a05fc6cfe1
commit
7abd3a05ab
@ -26,10 +26,10 @@ import javax.annotation.Nullable;
|
|||||||
*/
|
*/
|
||||||
public class UnifiedResponse<T> {
|
public class UnifiedResponse<T> {
|
||||||
|
|
||||||
private String code;
|
private final String code;
|
||||||
private String message;
|
private final String message;
|
||||||
|
|
||||||
private @Nullable T data;
|
private final @Nullable T data;
|
||||||
|
|
||||||
// ================================
|
// ================================
|
||||||
// #region - Constructors
|
// #region - Constructors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user