src/main/java: remove report() from curation tasks

Results are a single-line status that shows the result of the task,
but reports are like a running log of changes to the item and have
more complicated use cases and configuration requirements.

For now I will disable reports since I'm not using them.
This commit is contained in:
Alan Orth 2024-04-25 12:51:30 +03:00
parent 5e0a456fb5
commit 77425c13bf
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 0 additions and 2 deletions

View File

@ -77,7 +77,6 @@ public class CountryCodeTagger extends AbstractCurationTask {
}
setResult(alpha2Result.getResult());
report(alpha2Result.getResult());
}
return alpha2Result.getStatus();

View File

@ -68,7 +68,6 @@ public class NormalizeDOIs extends AbstractCurationTask {
} else {
result = "All DOIs already normalized";
}
report(result);
setResult(result);
return Curator.CURATE_SUCCESS;