Remove duplicated method in QualityForm
This commit is contained in:
parent
32dcc7d29c
commit
50c83ccfd8
2 changed files with 1 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue