menue methode angepasst
This commit is contained in:
parent
1bc6ecd05e
commit
a38bd2b59f
@ -67,113 +67,113 @@ public class Data {
|
|||||||
|
|
||||||
|
|
||||||
boolean eggs = false;
|
boolean eggs = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
eggs = true;
|
eggs = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
allergens = parts[5];
|
allergens = parts[5];
|
||||||
boolean peanuts = false;
|
boolean peanuts = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
peanuts = true;
|
peanuts = true;
|
||||||
}
|
}
|
||||||
allergens = parts[6];
|
allergens = parts[6];
|
||||||
boolean fish = false;
|
boolean fish = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
fish = true;
|
fish = true;
|
||||||
}
|
}
|
||||||
allergens = parts[7];
|
allergens = parts[7];
|
||||||
boolean grains = false;
|
boolean grains = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
grains = true;
|
grains = true;
|
||||||
}
|
}
|
||||||
allergens = parts[8];
|
allergens = parts[8];
|
||||||
boolean crustaceans = false;
|
boolean crustaceans = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
crustaceans = true;
|
crustaceans = true;
|
||||||
}
|
}
|
||||||
allergens = parts[9];
|
allergens = parts[9];
|
||||||
boolean lupines = false;
|
boolean lupines = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
lupines = true;
|
lupines = true;
|
||||||
}
|
}
|
||||||
allergens = parts[10];
|
allergens = parts[10];
|
||||||
boolean milk = false;
|
boolean milk = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
milk = true;
|
milk = true;
|
||||||
}
|
}
|
||||||
allergens = parts[11];
|
allergens = parts[11];
|
||||||
boolean nuts = false;
|
boolean nuts = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
nuts = true;
|
nuts = true;
|
||||||
}
|
}
|
||||||
allergens = parts[12];
|
allergens = parts[12];
|
||||||
boolean sulfurDioxideAndSulfite = false;
|
boolean sulfurDioxideAndSulfite = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
sulfurDioxideAndSulfite = true;
|
sulfurDioxideAndSulfite = true;
|
||||||
}
|
}
|
||||||
allergens = parts[13];
|
allergens = parts[13];
|
||||||
boolean celeriac = false;
|
boolean celeriac = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
celeriac = true;
|
celeriac = true;
|
||||||
}
|
}
|
||||||
allergens = parts[14];
|
allergens = parts[14];
|
||||||
boolean mustards = false;
|
boolean mustards = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
mustards = true;
|
mustards = true;
|
||||||
}
|
}
|
||||||
allergens = parts[15];
|
allergens = parts[15];
|
||||||
boolean sesame = false;
|
boolean sesame = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
sesame = true;
|
sesame = true;
|
||||||
}
|
}
|
||||||
allergens = parts[16];
|
allergens = parts[16];
|
||||||
boolean soy = false;
|
boolean soy = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
soy = true;
|
soy = true;
|
||||||
}
|
}
|
||||||
allergens = parts[17];
|
allergens = parts[17];
|
||||||
boolean molluscs = false;
|
boolean molluscs = false;
|
||||||
if (allergens != "") {
|
if (!allergens.isEmpty()) {
|
||||||
molluscs = true;
|
molluscs = true;
|
||||||
}
|
}
|
||||||
String additives = parts[18];
|
String additives = parts[18];
|
||||||
boolean antioxidant = false;
|
boolean antioxidant = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
antioxidant = true;
|
antioxidant = true;
|
||||||
}
|
}
|
||||||
additives = parts[19];
|
additives = parts[19];
|
||||||
boolean artificialColours = false;
|
boolean artificialColours = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
artificialColours = true;
|
artificialColours = true;
|
||||||
}
|
}
|
||||||
additives = parts[20];
|
additives = parts[20];
|
||||||
boolean flavourEnhancer = false;
|
boolean flavourEnhancer = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
flavourEnhancer = true;
|
flavourEnhancer = true;
|
||||||
}
|
}
|
||||||
additives = parts[21];
|
additives = parts[21];
|
||||||
boolean preservatives = false;
|
boolean preservatives = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
preservatives = true;
|
preservatives = true;
|
||||||
}
|
}
|
||||||
additives = parts[22];
|
additives = parts[22];
|
||||||
boolean nitrate = false;
|
boolean nitrate = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
nitrate = true;
|
nitrate = true;
|
||||||
}
|
}
|
||||||
additives = parts[23];
|
additives = parts[23];
|
||||||
boolean picklingSalt = false;
|
boolean picklingSalt = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
picklingSalt = true;
|
picklingSalt = true;
|
||||||
}
|
}
|
||||||
additives = parts[24];
|
additives = parts[24];
|
||||||
boolean phosphate = false;
|
boolean phosphate = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
phosphate = true;
|
phosphate = true;
|
||||||
}
|
}
|
||||||
additives = parts[25];
|
additives = parts[25];
|
||||||
boolean artificialSweetener = false;
|
boolean artificialSweetener = false;
|
||||||
if (additives != "") {
|
if (!additives.isEmpty()) {
|
||||||
artificialSweetener = true;
|
artificialSweetener = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user