comparison src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java @ 1338:ffbf9cff4aa6

Do not persist existing ort object in importer.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 07 Apr 2017 08:53:41 +0200
parents dc7dde59bb54
children 3f6a77c9efc9
comparison
equal deleted inserted replaced
1337:462226615381 1338:ffbf9cff4aa6
748 new ReportItem("validation", err.getKey(), code)); 748 new ReportItem("validation", err.getKey(), code));
749 } 749 }
750 } 750 }
751 return null; 751 return null;
752 } 752 }
753 if (o.getId() != null) {
754 return o;
755 }
753 repository.create(o, "stamm"); 756 repository.create(o, "stamm");
754 return o; 757 return o;
755 } 758 }
756 759
757 private Ort createNewOrt(Map<String, String> attributes, String type, Probe probe) { 760 private Ort createNewOrt(Map<String, String> attributes, String type, Probe probe) {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)