small code improvements
This commit is contained in:
@@ -3,7 +3,6 @@ package pl.com.bottega.factory.demand.forecasting;
|
||||
import lombok.Value;
|
||||
import pl.com.bottega.factory.product.management.RefNoId;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
|
||||
@Value
|
||||
@@ -11,11 +10,6 @@ public class DemandedLevelsChanged {
|
||||
RefNoId refNo;
|
||||
Map<DailyId, Change> results;
|
||||
|
||||
public DemandedLevelsChanged(RefNoId refNo, Map<DailyId, Change> results) {
|
||||
this.refNo = refNo;
|
||||
this.results = Collections.unmodifiableMap(results);
|
||||
}
|
||||
|
||||
@Value
|
||||
public static class Change {
|
||||
Demand previous;
|
||||
|
||||
@@ -4,7 +4,6 @@ import lombok.Value;
|
||||
import pl.com.bottega.factory.product.management.RefNoId;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Value
|
||||
@@ -12,11 +11,6 @@ public class ReviewRequired {
|
||||
RefNoId refNo;
|
||||
List<ToReview> reviews;
|
||||
|
||||
public ReviewRequired(RefNoId refNo, List<ToReview> reviews) {
|
||||
this.refNo = refNo;
|
||||
this.reviews = Collections.unmodifiableList(reviews);
|
||||
}
|
||||
|
||||
@Value
|
||||
public static class ToReview {
|
||||
DailyId id;
|
||||
|
||||
Reference in New Issue
Block a user