<BUG>return FluentIterable.from(registrations);}private static FluentIterable<Registration> getRegistrations() {</BUG><CONTEXT>if (studentCurricularPlan.isActive()) {registrations.add(studentCurricularPlan.getRegistration());}}}<extra_id_0>Set<Registration> registrations = new HashSet<>();</CONTEXT>
return registrations.stream();private static Stream<Registration> getRegistrations() {