Skip to content

Commit

Permalink
add javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-lippert committed Nov 18, 2023
1 parent 9106612 commit 5fc19ca
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ public ProgrammingExercise importProgrammingExerciseFromFile(ProgrammingExercise
return importedProgrammingExercise;
}

/**
* Imports a build plan if it exists in the extracted zip file
* If the file cannot be read, the build plan is skipped
*
* @param programmingExercise the programming exercise for which the build plan should be imported
* @param importExerciseDir the directory where the extracted zip file is located
*/
private void importBuildPlanIfExisting(ProgrammingExercise programmingExercise, Path importExerciseDir) {
Path buildPlanPath = importExerciseDir.resolve(BUILD_PLAN_FILE_NAME);
if (Files.exists(buildPlanPath)) {
Expand Down

0 comments on commit 5fc19ca

Please sign in to comment.