Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java @ 5593:cf4cc385e7c6
Do not call recommend twice.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 08 Apr 2013 15:23:01 +0200 |
parents | b75005269a6c |
children | ebec12def170 |
comparison
equal
deleted
inserted
replaced
5592:e4a59c795ff6 | 5593:cf4cc385e7c6 |
---|---|
206 final Map<String, Object> parameters, | 206 final Map<String, Object> parameters, |
207 final String userId, | 207 final String userId, |
208 final Node result, | 208 final Node result, |
209 Session systemSession | 209 Session systemSession |
210 ) { | 210 ) { |
211 systemSession.doWork(new Work() { | |
212 @Override | |
213 public void execute(final Connection systemConnection) | |
214 throws SQLException | |
215 { | |
216 recommend( | |
217 parameters, userId, result, | |
218 systemConnection, | |
219 (Connection)null); | |
220 } | |
221 }); | |
222 systemSession.doWork(new Work() { | 211 systemSession.doWork(new Work() { |
223 @Override | 212 @Override |
224 public void execute(final Connection systemConnection) | 213 public void execute(final Connection systemConnection) |
225 throws SQLException | 214 throws SQLException |
226 { | 215 { |