Remove duplicated method in QualityForm

This commit is contained in:
Manuel Rego Casasnovas 2011-12-21 10:11:37 +01:00
parent 32dcc7d29c
commit 50c83ccfd8
2 changed files with 1 additions and 5 deletions

View file

@ -394,10 +394,6 @@ public class QualityForm extends BaseEntity implements IHumanIdentifiable{
this.reportAdvance = BooleanUtils.toBoolean(reportAdvance);
}
public boolean getReportAdvance() {
return this.reportAdvance;
}
public AdvanceType getAdvanceType() {
return advanceType;
}

View file

@ -312,7 +312,7 @@ public class QualityFormCRUDController extends BaseCRUDController<QualityForm> {
}
public void validateReportProgress() {
if ((getQualityForm().getReportAdvance())
if ((getQualityForm().isReportAdvance())
&& (!hasItemWithTotalPercentage())) {
Checkbox checkBoxReportProgress = (Checkbox) editWindow
.getFellowIfAny("checkBoxReportProgress");