public Double getMaximumCredits() throws FenixFilterException, FenixServiceException {
public Double getMaximumCredits() {
    public Double getMaximumCredits() throws FenixFilterException, FenixServiceException {        if (getViewState().getAttribute("maximumCredits") == null) {            if (getCurricularRule() != null && getCurricularRule() instanceof CreditsLimit) {                setMaximumCredits(((CreditsLimit) getCurricularRule()).getMaximum());                           } else {                setMaximumCredits(Double.valueOf(0));            }        }        return (Double) getViewState().getAttribute("maximumCredits");    }