Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/Sync.java @ 4104:cdcf98245e36
Commit/rollback changes if a gauge is only updated.
flys-aft/trunk@3636 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 09 Jan 2012 17:40:46 +0000 |
parents | da9df3641578 |
children | 06891562e633 |
comparison
equal
deleted
inserted
replaced
4103:2305731f563c | 4104:cdcf98245e36 |
---|---|
153 syncContext.close(); | 153 syncContext.close(); |
154 } | 154 } |
155 } | 155 } |
156 | 156 |
157 if (modified) { | 157 if (modified) { |
158 log.info("Modifications found."); | |
158 sendNotifications(config); | 159 sendNotifications(config); |
160 } | |
161 else { | |
162 log.info("No modifications found."); | |
159 } | 163 } |
160 | 164 |
161 if (exitCode != 0) { | 165 if (exitCode != 0) { |
162 System.exit(1); | 166 System.exit(1); |
163 } | 167 } |