{"action":"created","issue":{"url":"https://api.github.com/repos/lviggiano/owner/issues/168","repository_url":"https://api.github.com/repos/lviggiano/owner","labels_url":"https://api.github.com/repos/lviggiano/owner/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/lviggiano/owner/issues/168/comments","events_url":"https://api.github.com/repos/lviggiano/owner/issues/168/events","html_url":"https://github.com/lviggiano/owner/issues/168","id":150855657,"number":168,"title":"LoadType cannot be resolved to a variable","user":{"login":"geosmart","id":3156608,"avatar_url":"https://avatars.githubusercontent.com/u/3156608?v=3","gravatar_id":"","url":"https://api.github.com/users/geosmart","html_url":"https://github.com/geosmart","followers_url":"https://api.github.com/users/geosmart/followers","following_url":"https://api.github.com/users/geosmart/following{/other_user}","gists_url":"https://api.github.com/users/geosmart/gists{/gist_id}","starred_url":"https://api.github.com/users/geosmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geosmart/subscriptions","organizations_url":"https://api.github.com/users/geosmart/orgs","repos_url":"https://api.github.com/users/geosmart/repos","events_url":"https://api.github.com/users/geosmart/events{/privacy}","received_events_url":"https://api.github.com/users/geosmart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lviggiano/owner/labels/invalid","name":"invalid","color":"e6e6e6"},{"url":"https://api.github.com/repos/lviggiano/owner/labels/resolved","name":"resolved","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-25T13:19:15Z","updated_at":"2016-05-06T16:55:56Z","closed_at":"2016-05-06T16:55:56Z","body":"i want to merge the configs by set Loading strategies by `@LoadPolicy(LoadType.MERGE)`,\r\nbut the complier said 'LoadType cannot be resolved to a variable'\r\n```java\r\npackage com.lt.uadb.distributor.config;\r\n\r\nimport java.io.PrintStream;\r\n\r\nimport org.aeonbits.owner.Config;\r\nimport org.aeonbits.owner.Config.LoadPolicy;\r\nimport org.aeonbits.owner.Config.Sources;\r\n\r\n/**\r\n * distributor config\r\n * \r\n * @author geosmart\r\n */\r\n@LoadPolicy(LoadType.MERGE)\r\n@Sources({\"file:resources/configs/distributor.config\", \"classpath:distributor.config\"})\r\npublic interface DistributorConfig extends Config {\r\n\r\n  @Key(\"pageSize\")\r\n  @DefaultValue(\"10000\")\r\n  int pageSize();\r\n\r\n  @Key(\"command\")\r\n  String command();\r\n\r\n  @Key(\"construct_pinyin_tables\")\r\n  String[] construct_pinyin_tables();\r\n\r\n  void list(PrintStream out);\r\n}\r\n\r\n```\r\nI use Java7"},"comment":{"url":"https://api.github.com/repos/lviggiano/owner/issues/comments/217497360","html_url":"https://github.com/lviggiano/owner/issues/168#issuecomment-217497360","issue_url":"https://api.github.com/repos/lviggiano/owner/issues/168","id":217497360,"user":{"login":"lviggiano","id":160928,"avatar_url":"https://avatars.githubusercontent.com/u/160928?v=3","gravatar_id":"","url":"https://api.github.com/users/lviggiano","html_url":"https://github.com/lviggiano","followers_url":"https://api.github.com/users/lviggiano/followers","following_url":"https://api.github.com/users/lviggiano/following{/other_user}","gists_url":"https://api.github.com/users/lviggiano/gists{/gist_id}","starred_url":"https://api.github.com/users/lviggiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lviggiano/subscriptions","organizations_url":"https://api.github.com/users/lviggiano/orgs","repos_url":"https://api.github.com/users/lviggiano/repos","events_url":"https://api.github.com/users/lviggiano/events{/privacy}","received_events_url":"https://api.github.com/users/lviggiano/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T16:55:56Z","updated_at":"2016-05-06T16:55:56Z","body":"examples in the documentation always cut off the imports to focus on the meaningful code; it is implied that you need to add the imports where needed."}}