{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-integration/issues/1846","repository_url":"https://api.github.com/repos/spring-projects/spring-integration","labels_url":"https://api.github.com/repos/spring-projects/spring-integration/issues/1846/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-integration/issues/1846/comments","events_url":"https://api.github.com/repos/spring-projects/spring-integration/issues/1846/events","html_url":"https://github.com/spring-projects/spring-integration/pull/1846","id":164359793,"number":1846,"title":" @artembilan  INT-4067: Cover empty file case in `FileSplitter` ","user":{"login":"artembilan","id":1071590,"avatar_url":"https://avatars.githubusercontent.com/u/1071590?v=3","gravatar_id":"","url":"https://api.github.com/users/artembilan","html_url":"https://github.com/artembilan","followers_url":"https://api.github.com/users/artembilan/followers","following_url":"https://api.github.com/users/artembilan/following{/other_user}","gists_url":"https://api.github.com/users/artembilan/gists{/gist_id}","starred_url":"https://api.github.com/users/artembilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artembilan/subscriptions","organizations_url":"https://api.github.com/users/artembilan/orgs","repos_url":"https://api.github.com/users/artembilan/repos","events_url":"https://api.github.com/users/artembilan/events{/privacy}","received_events_url":"https://api.github.com/users/artembilan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-07T17:05:56Z","updated_at":"2016-07-11T13:40:37Z","closed_at":"2016-07-11T13:26:41Z","pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-integration/pulls/1846","html_url":"https://github.com/spring-projects/spring-integration/pull/1846","diff_url":"https://github.com/spring-projects/spring-integration/pull/1846.diff","patch_url":"https://github.com/spring-projects/spring-integration/pull/1846.patch"},"body":"JIRA: https://jira.spring.io/browse/INT-4067\r\n\r\nWhen `FileSplitter` is configured with `markers = true` and file is empty, an `iterator` for file throws `IOException: Stream closed`,\r\nbecause we close the `buffer` just after the first `readLine()` attempt, but still return `true` from the first `hasNext()` call\r\nwhere the `this.sof` and `this.eof` are `true` for markers.\r\n\r\nAdd logic to mark internal splitter `iterator` as `done` where we don't have content and still in `sof` state."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-integration/issues/comments/231736977","html_url":"https://github.com/spring-projects/spring-integration/pull/1846#issuecomment-231736977","issue_url":"https://api.github.com/repos/spring-projects/spring-integration/issues/1846","id":231736977,"user":{"login":"garyrussell","id":483832,"avatar_url":"https://avatars.githubusercontent.com/u/483832?v=3","gravatar_id":"","url":"https://api.github.com/users/garyrussell","html_url":"https://github.com/garyrussell","followers_url":"https://api.github.com/users/garyrussell/followers","following_url":"https://api.github.com/users/garyrussell/following{/other_user}","gists_url":"https://api.github.com/users/garyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/garyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyrussell/subscriptions","organizations_url":"https://api.github.com/users/garyrussell/orgs","repos_url":"https://api.github.com/users/garyrussell/repos","events_url":"https://api.github.com/users/garyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/garyrussell/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T13:40:37Z","updated_at":"2016-07-11T13:40:37Z","body":"Cherry-picked to 4.2.x (minus build.gradle); backported to 4.1.x - except gradle, docs; fixed test there."}}
{"actor":{"display_login":"garyrussell"}}