spotless 적용
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user