spotless 적용

This commit is contained in:
2025-12-31 09:25:30 +09:00
parent 81cd69c99b
commit 0df6151777
3 changed files with 34 additions and 57 deletions

View File

@@ -27,8 +27,7 @@ public class LabelAllocateDto {
private final int demand;
private final List<Sheet> assigned = new ArrayList<>();
private int allocated = 0;
@Setter
private int shortage = 0;
@Setter private int shortage = 0;
public TargetUser(String userId, int demand) {
this.userId = userId;
@@ -38,11 +37,10 @@ public class LabelAllocateDto {
public int getRemainDemand() {
return demand - allocated;
}
public void assign(String sheetId, int count) {
assigned.add(new Sheet(sheetId, count));
allocated += count;
}
}
}