Fix misspelling
FEA: ItEr74S04BugFixing
This commit is contained in:
parent
98562472bc
commit
62635fd2ca
2 changed files with 4 additions and 4 deletions
|
|
@ -302,13 +302,13 @@ public class StretchesFunction extends AssignmentFunction {
|
|||
|
||||
@AssertTrue(message = "At least one stretch is needed")
|
||||
public boolean checkNoEmpty() {
|
||||
return !getStrechesPlusConsolidated().isEmpty();
|
||||
return !getStretchesPlusConsolidated().isEmpty();
|
||||
}
|
||||
|
||||
@AssertTrue(message = "Some stretch has higher or equal values than the "
|
||||
+ "previous stretch")
|
||||
public boolean checkStretchesOrder() {
|
||||
List<Stretch> stretchesPlusConsolidated = getStrechesPlusConsolidated();
|
||||
List<Stretch> stretchesPlusConsolidated = getStretchesPlusConsolidated();
|
||||
if (stretchesPlusConsolidated.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
|
@ -333,7 +333,7 @@ public class StretchesFunction extends AssignmentFunction {
|
|||
return true;
|
||||
}
|
||||
|
||||
public List<Stretch> getStrechesPlusConsolidated() {
|
||||
public List<Stretch> getStretchesPlusConsolidated() {
|
||||
List<Stretch> result = new ArrayList<Stretch>();
|
||||
result.addAll(stretches);
|
||||
if (consolidatedStretch != null) {
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ public class StretchesFunctionModel implements IStretchesFunctionModel {
|
|||
private List<Stretch> allStretches() {
|
||||
List<Stretch> result = new ArrayList<Stretch>();
|
||||
result.add(firstStretch());
|
||||
result.addAll(stretchesFunction.getStrechesPlusConsolidated());
|
||||
result.addAll(stretchesFunction.getStretchesPlusConsolidated());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue