Skip to content

Commit

Permalink
Development: Delete unused repository method
Browse files Browse the repository at this point in the history
  • Loading branch information
krusche committed Nov 16, 2024
1 parent 32f6b56 commit db9b3c9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,6 @@ Optional<ProgrammingExercise> findByIdWithEagerTestCasesStaticCodeAnalysisCatego
Optional<ProgrammingExercise> findByIdWithEagerBuildConfigTestCasesStaticCodeAnalysisCategoriesHintsAndTemplateAndSolutionParticipationsAndAuxReposAndSolutionEntriesAndBuildConfig(
@Param("exerciseId") long exerciseId);

default ProgrammingExercise findByIdWithEagerTestCasesStaticCodeAnalysisCategoriesHintsAndTemplateAndSolutionParticipationsAndAuxReposAndBuildConfigElseThrow(long exerciseId)
throws EntityNotFoundException {
return getValueElseThrow(findByIdWithEagerTestCasesStaticCodeAnalysisCategoriesHintsAndTemplateAndSolutionParticipationsAndAuxReposAndBuildConfig(exerciseId), exerciseId);
}

@Query("""
SELECT p
FROM ProgrammingExercise p
Expand Down

0 comments on commit db9b3c9

Please sign in to comment.