~ removed unusable variables
This commit is contained in:
parent
ad0e2040ee
commit
41ae0c46e7
@ -36,16 +36,11 @@ public class WeekOverview implements Analysis<Map<String, Map.Entry<Double, Inte
|
||||
return result;
|
||||
}
|
||||
result = new HashMap<>();
|
||||
int dayIndex = Attribute.SHOPPING_DAY;
|
||||
int amountIndex = Attribute.PURCHASE_AMOUNT;
|
||||
|
||||
int startArticles = Attribute.POWER_TOOLS;
|
||||
int endArticles = Attribute.GARDENING_TOOLS + 1;
|
||||
|
||||
for (int i = 0; i < instances.numInstances(); i++) {
|
||||
Instance instance = instances.get(i);
|
||||
double amount = instance.value(amountIndex);
|
||||
String day = instance.stringValue(dayIndex);
|
||||
double amount = instance.value(Attribute.PURCHASE_AMOUNT);
|
||||
String day = instance.stringValue(Attribute.SHOPPING_DAY);
|
||||
|
||||
|
||||
if (!result.containsKey(day)) {
|
||||
|
Loading…
Reference in New Issue
Block a user