[Lada-commits] [PATCH] Removed timestamp update (letzte_aenderung) from server code
Wald Commits
scm-commit at wald.intevation.org
Wed Apr 13 20:14:35 CEST 2016
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1460571271 -7200
# Node ID 48ca912c571ecb49288fbfbaf3d25aab2786e4a0
# Parent 83a7ef8d4f69b039b47d532b2dc4d96348c54fa8
Removed timestamp update (letzte_aenderung) from server code.
diff -r 83a7ef8d4f69 -r 48ca912c571e src/main/java/de/intevation/lada/rest/MessungService.java
--- a/src/main/java/de/intevation/lada/rest/MessungService.java Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/MessungService.java Wed Apr 13 20:14:31 2016 +0200
@@ -377,7 +377,6 @@
response.setWarnings(violation.getWarnings());
return response;
}
- messung.setLetzteAenderung(new Timestamp(new Date().getTime()));
Response response = repository.update(messung, "land");
Response updated = repository.getById(
LMessung.class,
diff -r 83a7ef8d4f69 -r 48ca912c571e src/main/java/de/intevation/lada/rest/MesswertService.java
--- a/src/main/java/de/intevation/lada/rest/MesswertService.java Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/MesswertService.java Wed Apr 13 20:14:31 2016 +0200
@@ -331,7 +331,6 @@
return response;
}
- messwert.setLetzteAenderung(new Timestamp(new Date().getTime()));
Response response = defaultRepo.update(messwert, "land");
Response updated = defaultRepo.getById(
LMesswert.class,
diff -r 83a7ef8d4f69 -r 48ca912c571e src/main/java/de/intevation/lada/rest/ProbeService.java
--- a/src/main/java/de/intevation/lada/rest/ProbeService.java Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/ProbeService.java Wed Apr 13 20:14:31 2016 +0200
@@ -445,7 +445,6 @@
if (probe.getUmwId() == null || probe.getUmwId() == "") {
factory.findUmweltId(probe);
}
- probe.setLetzteAenderung(new Timestamp(new Date().getTime()));
Response response = repository.update(probe, "land");
Response updated = repository.getById(
LProbe.class,
diff -r 83a7ef8d4f69 -r 48ca912c571e src/main/java/de/intevation/lada/rest/ZusatzwertService.java
--- a/src/main/java/de/intevation/lada/rest/ZusatzwertService.java Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/ZusatzwertService.java Wed Apr 13 20:14:31 2016 +0200
@@ -246,7 +246,6 @@
if (lock.isLocked(zusatzwert)) {
return new Response(false, 697, null);
}
- zusatzwert.setLetzteAenderung(new Timestamp(new Date().getTime()));
Response response = defaultRepo.update(zusatzwert, "land");
Response updated = defaultRepo.getById(
LZusatzWert.class,
More information about the Lada-commits
mailing list