Commit eff39e5
committed
PollerAdviceTests: synchronized list actions
https://build.spring.io/browse/INT-MASTERSPRING40-441
Even if we `stop()` a `SourcePollingChannelAdapter` that doesn't mean
that task-in-progress can't deliver its result to the source consumer.
* Wrap a list `add()` and iterator operations to avoid a
`ConcurrentModificationException`
# Conflicts:
# spring-integration-core/src/test/java/org/springframework/integration/endpoint/PollerAdviceTests.java1 parent 11310ff commit eff39e5
File tree
1 file changed
+6
-8
lines changed- spring-integration-core/src/test/java/org/springframework/integration/endpoint
1 file changed
+6
-8
lines changedLines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
283 | 285 | | |
284 | 286 | | |
285 | 287 | | |
| |||
297 | 299 | | |
298 | 300 | | |
299 | 301 | | |
300 | | - | |
301 | | - | |
| 302 | + | |
| 303 | + | |
302 | 304 | | |
303 | | - | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| |||
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
333 | | - | |
334 | | - | |
335 | | - | |
| 334 | + | |
336 | 335 | | |
337 | | - | |
338 | 336 | | |
339 | 337 | | |
340 | 338 | | |
| |||
0 commit comments