mirror of
https://github.com/ilri/cgspace-java-helpers.git
synced 2025-01-09 13:45:02 +01:00
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:
parent
5e0a456fb5
commit
77425c13bf
@ -77,7 +77,6 @@ public class CountryCodeTagger extends AbstractCurationTask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setResult(alpha2Result.getResult());
|
setResult(alpha2Result.getResult());
|
||||||
report(alpha2Result.getResult());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return alpha2Result.getStatus();
|
return alpha2Result.getStatus();
|
||||||
|
@ -68,7 +68,6 @@ public class NormalizeDOIs extends AbstractCurationTask {
|
|||||||
} else {
|
} else {
|
||||||
result = "All DOIs already normalized";
|
result = "All DOIs already normalized";
|
||||||
}
|
}
|
||||||
report(result);
|
|
||||||
setResult(result);
|
setResult(result);
|
||||||
|
|
||||||
return Curator.CURATE_SUCCESS;
|
return Curator.CURATE_SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user