spring-projects/spring-integration — pull request #1299 by garyrussell (2014-10-21 13:21:38+00:00)
Title: INT-3536 Fix Mail Receiver Regression Issue

JIRA: https://jira.spring.io/browse/INT-3536

The fix for opening multiple IMAP connections in the idle
adapter inadvertently removed the check for the store being
open.

Add `connectStoreIfNecessary()` and test case.