{"action":"closed","number":203,"pull_request":{"url":"https://api.github.com/repos/aaberg/sql2o/pulls/203","id":49517750,"html_url":"https://github.com/aaberg/sql2o/pull/203","diff_url":"https://github.com/aaberg/sql2o/pull/203.diff","patch_url":"https://github.com/aaberg/sql2o/pull/203.patch","issue_url":"https://api.github.com/repos/aaberg/sql2o/issues/203","number":203,"state":"closed","locked":false,"title":"Use name() instead of toString() for enum value.","user":{"login":"charkins","id":1107863,"avatar_url":"https://avatars.githubusercontent.com/u/1107863?v=3","gravatar_id":"","url":"https://api.github.com/users/charkins","html_url":"https://github.com/charkins","followers_url":"https://api.github.com/users/charkins/followers","following_url":"https://api.github.com/users/charkins/following{/other_user}","gists_url":"https://api.github.com/users/charkins/gists{/gist_id}","starred_url":"https://api.github.com/users/charkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charkins/subscriptions","organizations_url":"https://api.github.com/users/charkins/orgs","repos_url":"https://api.github.com/users/charkins/repos","events_url":"https://api.github.com/users/charkins/events{/privacy}","received_events_url":"https://api.github.com/users/charkins/received_events","type":"User","site_admin":false},"body":"The javadoc for Enum notes that name() should be used when\r\ncorrectness depends on getting the exact name of the enum\r\nconstant which will not vary from release to release. The\r\njavadoc further encourages overriding the toString() method\r\nwhen appropriate to provide a more user-friendly name. This\r\ncommit fixes the DefaultEnumConverterFactory in cases where\r\nthe toString() method is overridden to return something other\r\nthan the enum constant.","created_at":"2015-11-03T04:07:06Z","updated_at":"2015-11-03T12:15:21Z","closed_at":"2015-11-03T12:15:21Z","merged_at":"2015-11-03T12:15:21Z","merge_commit_sha":"5614eb7d4cbb2c3786132323e89e63e38faa7bcb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aaberg/sql2o/pulls/203/commits","review_comments_url":"https://api.github.com/repos/aaberg/sql2o/pulls/203/comments","review_comment_url":"https://api.github.com/repos/aaberg/sql2o/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aaberg/sql2o/issues/203/comments","statuses_url":"https://api.github.com/repos/aaberg/sql2o/statuses/b7933ab656f97a73310418443943e348f8a6cf7a","head":{"label":"charkins:master","ref":"master","sha":"b7933ab656f97a73310418443943e348f8a6cf7a","user":{"login":"charkins","id":1107863,"avatar_url":"https://avatars.githubusercontent.com/u/1107863?v=3","gravatar_id":"","url":"https://api.github.com/users/charkins","html_url":"https://github.com/charkins","followers_url":"https://api.github.com/users/charkins/followers","following_url":"https://api.github.com/users/charkins/following{/other_user}","gists_url":"https://api.github.com/users/charkins/gists{/gist_id}","starred_url":"https://api.github.com/users/charkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charkins/subscriptions","organizations_url":"https://api.github.com/users/charkins/orgs","repos_url":"https://api.github.com/users/charkins/repos","events_url":"https://api.github.com/users/charkins/events{/privacy}","received_events_url":"https://api.github.com/users/charkins/received_events","type":"User","site_admin":false},"repo":{"id":45440144,"name":"sql2o","full_name":"charkins/sql2o","owner":{"login":"charkins","id":1107863,"avatar_url":"https://avatars.githubusercontent.com/u/1107863?v=3","gravatar_id":"","url":"https://api.github.com/users/charkins","html_url":"https://github.com/charkins","followers_url":"https://api.github.com/users/charkins/followers","following_url":"https://api.github.com/users/charkins/following{/other_user}","gists_url":"https://api.github.com/users/charkins/gists{/gist_id}","starred_url":"https://api.github.com/users/charkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charkins/subscriptions","organizations_url":"https://api.github.com/users/charkins/orgs","repos_url":"https://api.github.com/users/charkins/repos","events_url":"https://api.github.com/users/charkins/events{/privacy}","received_events_url":"https://api.github.com/users/charkins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charkins/sql2o","description":"sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters.","fork":true,"url":"https://api.github.com/repos/charkins/sql2o","forks_url":"https://api.github.com/repos/charkins/sql2o/forks","keys_url":"https://api.github.com/repos/charkins/sql2o/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charkins/sql2o/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charkins/sql2o/teams","hooks_url":"https://api.github.com/repos/charkins/sql2o/hooks","issue_events_url":"https://api.github.com/repos/charkins/sql2o/issues/events{/number}","events_url":"https://api.github.com/repos/charkins/sql2o/events","assignees_url":"https://api.github.com/repos/charkins/sql2o/assignees{/user}","branches_url":"https://api.github.com/repos/charkins/sql2o/branches{/branch}","tags_url":"https://api.github.com/repos/charkins/sql2o/tags","blobs_url":"https://api.github.com/repos/charkins/sql2o/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charkins/sql2o/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charkins/sql2o/git/refs{/sha}","trees_url":"https://api.github.com/repos/charkins/sql2o/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charkins/sql2o/statuses/{sha}","languages_url":"https://api.github.com/repos/charkins/sql2o/languages","stargazers_url":"https://api.github.com/repos/charkins/sql2o/stargazers","contributors_url":"https://api.github.com/repos/charkins/sql2o/contributors","subscribers_url":"https://api.github.com/repos/charkins/sql2o/subscribers","subscription_url":"https://api.github.com/repos/charkins/sql2o/subscription","commits_url":"https://api.github.com/repos/charkins/sql2o/commits{/sha}","git_commits_url":"https://api.github.com/repos/charkins/sql2o/git/commits{/sha}","comments_url":"https://api.github.com/repos/charkins/sql2o/comments{/number}","issue_comment_url":"https://api.github.com/repos/charkins/sql2o/issues/comments{/number}","contents_url":"https://api.github.com/repos/charkins/sql2o/contents/{+path}","compare_url":"https://api.github.com/repos/charkins/sql2o/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charkins/sql2o/merges","archive_url":"https://api.github.com/repos/charkins/sql2o/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charkins/sql2o/downloads","issues_url":"https://api.github.com/repos/charkins/sql2o/issues{/number}","pulls_url":"https://api.github.com/repos/charkins/sql2o/pulls{/number}","milestones_url":"https://api.github.com/repos/charkins/sql2o/milestones{/number}","notifications_url":"https://api.github.com/repos/charkins/sql2o/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charkins/sql2o/labels{/name}","releases_url":"https://api.github.com/repos/charkins/sql2o/releases{/id}","created_at":"2015-11-03T03:48:18Z","updated_at":"2015-11-03T03:48:19Z","pushed_at":"2015-11-03T04:06:03Z","git_url":"git://github.com/charkins/sql2o.git","ssh_url":"git@github.com:charkins/sql2o.git","clone_url":"https://github.com/charkins/sql2o.git","svn_url":"https://github.com/charkins/sql2o","homepage":"http://sql2o.org","size":1623,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aaberg:master","ref":"master","sha":"3696062b53582c300346ebc9ae5af61a0ca352da","user":{"login":"aaberg","id":651812,"avatar_url":"https://avatars.githubusercontent.com/u/651812?v=3","gravatar_id":"","url":"https://api.github.com/users/aaberg","html_url":"https://github.com/aaberg","followers_url":"https://api.github.com/users/aaberg/followers","following_url":"https://api.github.com/users/aaberg/following{/other_user}","gists_url":"https://api.github.com/users/aaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/aaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaberg/subscriptions","organizations_url":"https://api.github.com/users/aaberg/orgs","repos_url":"https://api.github.com/users/aaberg/repos","events_url":"https://api.github.com/users/aaberg/events{/privacy}","received_events_url":"https://api.github.com/users/aaberg/received_events","type":"User","site_admin":false},"repo":{"id":1768307,"name":"sql2o","full_name":"aaberg/sql2o","owner":{"login":"aaberg","id":651812,"avatar_url":"https://avatars.githubusercontent.com/u/651812?v=3","gravatar_id":"","url":"https://api.github.com/users/aaberg","html_url":"https://github.com/aaberg","followers_url":"https://api.github.com/users/aaberg/followers","following_url":"https://api.github.com/users/aaberg/following{/other_user}","gists_url":"https://api.github.com/users/aaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/aaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaberg/subscriptions","organizations_url":"https://api.github.com/users/aaberg/orgs","repos_url":"https://api.github.com/users/aaberg/repos","events_url":"https://api.github.com/users/aaberg/events{/privacy}","received_events_url":"https://api.github.com/users/aaberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaberg/sql2o","description":"sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters.","fork":false,"url":"https://api.github.com/repos/aaberg/sql2o","forks_url":"https://api.github.com/repos/aaberg/sql2o/forks","keys_url":"https://api.github.com/repos/aaberg/sql2o/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaberg/sql2o/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaberg/sql2o/teams","hooks_url":"https://api.github.com/repos/aaberg/sql2o/hooks","issue_events_url":"https://api.github.com/repos/aaberg/sql2o/issues/events{/number}","events_url":"https://api.github.com/repos/aaberg/sql2o/events","assignees_url":"https://api.github.com/repos/aaberg/sql2o/assignees{/user}","branches_url":"https://api.github.com/repos/aaberg/sql2o/branches{/branch}","tags_url":"https://api.github.com/repos/aaberg/sql2o/tags","blobs_url":"https://api.github.com/repos/aaberg/sql2o/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaberg/sql2o/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaberg/sql2o/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaberg/sql2o/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaberg/sql2o/statuses/{sha}","languages_url":"https://api.github.com/repos/aaberg/sql2o/languages","stargazers_url":"https://api.github.com/repos/aaberg/sql2o/stargazers","contributors_url":"https://api.github.com/repos/aaberg/sql2o/contributors","subscribers_url":"https://api.github.com/repos/aaberg/sql2o/subscribers","subscription_url":"https://api.github.com/repos/aaberg/sql2o/subscription","commits_url":"https://api.github.com/repos/aaberg/sql2o/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaberg/sql2o/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaberg/sql2o/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaberg/sql2o/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaberg/sql2o/contents/{+path}","compare_url":"https://api.github.com/repos/aaberg/sql2o/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaberg/sql2o/merges","archive_url":"https://api.github.com/repos/aaberg/sql2o/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaberg/sql2o/downloads","issues_url":"https://api.github.com/repos/aaberg/sql2o/issues{/number}","pulls_url":"https://api.github.com/repos/aaberg/sql2o/pulls{/number}","milestones_url":"https://api.github.com/repos/aaberg/sql2o/milestones{/number}","notifications_url":"https://api.github.com/repos/aaberg/sql2o/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaberg/sql2o/labels{/name}","releases_url":"https://api.github.com/repos/aaberg/sql2o/releases{/id}","created_at":"2011-05-18T21:13:57Z","updated_at":"2015-11-02T22:24:07Z","pushed_at":"2015-11-03T12:15:21Z","git_url":"git://github.com/aaberg/sql2o.git","ssh_url":"git@github.com:aaberg/sql2o.git","clone_url":"https://github.com/aaberg/sql2o.git","svn_url":"https://github.com/aaberg/sql2o","homepage":"http://sql2o.org","size":3265,"stargazers_count":202,"watchers_count":202,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":67,"mirror_url":null,"open_issues_count":30,"forks":67,"open_issues":30,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aaberg/sql2o/pulls/203"},"html":{"href":"https://github.com/aaberg/sql2o/pull/203"},"issue":{"href":"https://api.github.com/repos/aaberg/sql2o/issues/203"},"comments":{"href":"https://api.github.com/repos/aaberg/sql2o/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/aaberg/sql2o/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/aaberg/sql2o/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aaberg/sql2o/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/aaberg/sql2o/statuses/b7933ab656f97a73310418443943e348f8a6cf7a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aaberg","id":651812,"avatar_url":"https://avatars.githubusercontent.com/u/651812?v=3","gravatar_id":"","url":"https://api.github.com/users/aaberg","html_url":"https://github.com/aaberg","followers_url":"https://api.github.com/users/aaberg/followers","following_url":"https://api.github.com/users/aaberg/following{/other_user}","gists_url":"https://api.github.com/users/aaberg/gists{/gist_id}","starred_url":"https://api.github.com/users/aaberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaberg/subscriptions","organizations_url":"https://api.github.com/users/aaberg/orgs","repos_url":"https://api.github.com/users/aaberg/repos","events_url":"https://api.github.com/users/aaberg/events{/privacy}","received_events_url":"https://api.github.com/users/aaberg/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}