|| (this.getEndDate() != null && (this.getEndDate().after(currentDate) || this .getEndDate().equals(currentDate)))) {
|| (this.getEndDate().after(currentDate) || this.getEndDate().equals(currentDate))) {
    public boolean isActive(Date currentDate) {        if (this.getEndDate() == null                || (this.getEndDate() != null && (this.getEndDate().after(currentDate) || this                        .getEndDate().equals(currentDate)))) {            return true;        }        return false;    }