Skip to content

Commit

Permalink
Update javadoc comments in PreComputeApp
Browse files Browse the repository at this point in the history
  • Loading branch information
jbern0rd committed Jun 22, 2023
1 parent 2669576 commit 82ad720
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/com/iexec/worker/tee/pre/PreComputeApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public PreComputeApp(String chainTaskId) {
* Download, decrypt, and save the plain dataset file in "/iexec_in".
* If the decrypted file is an archive, it won't be extracted.
*
* @throws PreComputeException
* @throws PreComputeException if dataset or input files could not be made available for the application enclave
*/
void run() throws PreComputeException {
preComputeArgs = PreComputeArgs.readArgs(chainTaskId);
Expand Down Expand Up @@ -74,8 +74,7 @@ void checkOutputFolder() throws PreComputeException {
* Download encrypted dataset file and check its checksum.
*
* @return downloaded file bytes
* @throws PreComputeException if download fails or bad file
* checksum
* @throws PreComputeException if download fails or bad file checksum
*/
byte[] downloadEncryptedDataset() throws PreComputeException {
String encryptedDatasetUrl = getPreComputeArgs().getEncryptedDatasetUrl();
Expand Down Expand Up @@ -168,7 +167,7 @@ void downloadInputFiles() throws PreComputeException {

/**
* Added for testing purpose.
* @return
* @return A {@link PreComputeArgs} instance
*/
PreComputeArgs getPreComputeArgs() {
return preComputeArgs;
Expand Down

0 comments on commit 82ad720

Please sign in to comment.