{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4879","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4879/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4879/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4879/events","html_url":"https://github.com/spring-projects/spring-boot/issues/4879","id":124857891,"number":4879,"title":"ConfigFileApplicationContextInitializer implementation initializes object to call instance method","user":{"login":"binkley","id":186421,"avatar_url":"https://avatars.githubusercontent.com/u/186421?v=3","gravatar_id":"","url":"https://api.github.com/users/binkley","html_url":"https://github.com/binkley","followers_url":"https://api.github.com/users/binkley/followers","following_url":"https://api.github.com/users/binkley/following{/other_user}","gists_url":"https://api.github.com/users/binkley/gists{/gist_id}","starred_url":"https://api.github.com/users/binkley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binkley/subscriptions","organizations_url":"https://api.github.com/users/binkley/orgs","repos_url":"https://api.github.com/users/binkley/repos","events_url":"https://api.github.com/users/binkley/events{/privacy}","received_events_url":"https://api.github.com/users/binkley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-04T22:53:44Z","updated_at":"2016-01-15T15:59:53Z","closed_at":"2016-01-15T15:59:53Z","body":"Peculiar implementation for `ConfigFileApplicationContextInitializer`.  It creates a new `ConfigFileApplicationListener` only to call `apply()` and discard the new object.  Would it be reasonable to provide a static method to use for this purpose?  I admit there's a lot going on in `ConfigFileApplicationListener`, though it has no default constructor so it should not be too hard to refactor the call. "}}