[tutti] branch develop updated (f876550 -> 41496d5)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository tutti. See http://git.codelutin.com/tutti.git from f876550 fixes #5906: [Macrodéchet] Problème d'affichage du contenu de la liste des catégories new 41496d5 refs #5916: [EXPORT GENERIQUE] mélange code RUBIN code CAMPAGNE The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 41496d5ef5906151d8cf2fb908754353f114bb0f Author: Tony CHEMIT <chemit@codelutin.com> Date: Fri Oct 3 19:01:03 2014 +0200 refs #5916: [EXPORT GENERIQUE] mélange code RUBIN code CAMPAGNE Summary of changes: .../java/fr/ifremer/tutti/persistence/TuttiPersistenceImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 41496d5ef5906151d8cf2fb908754353f114bb0f Author: Tony CHEMIT <chemit@codelutin.com> Date: Fri Oct 3 19:01:03 2014 +0200 refs #5916: [EXPORT GENERIQUE] mélange code RUBIN code CAMPAGNE --- .../java/fr/ifremer/tutti/persistence/TuttiPersistenceImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/TuttiPersistenceImpl.java b/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/TuttiPersistenceImpl.java index 4cdb1f2..a53de84 100644 --- a/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/TuttiPersistenceImpl.java +++ b/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/TuttiPersistenceImpl.java @@ -965,7 +965,12 @@ public class TuttiPersistenceImpl implements TuttiPersistence { if (StringUtils.isNotBlank(surveyCode)) { Integer taxonId = speciesProtocol.getSpeciesReferenceTaxonId(); - surveyCodeByTaxonId.put(taxonId, surveyCode); + String oldSurveyCode = surveyCodeByTaxonId.put(taxonId, surveyCode); + if (oldSurveyCode != null) { + if (log.isWarnEnabled()) { + log.warn(String.format("Detect a species in both species and benthos protocol: taxonId=%d, species surveyCode=%s, benthos surveyCode=%s", taxonId, oldSurveyCode, surveyCode)); + } + } } } } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm