public double getTotalEctsCredits() { double result = 0;
private double getTotalEctsCredits() { double result = 0.0;
    public double getTotalEctsCredits() {        double result = 0;        for (final CompetenceCourseLoad competenceCourseLoad : getCompetenceCourseLoads()) {            result += competenceCourseLoad.getEctsCredits().doubleValue();        }        return result;    }