GitHub PullRequestEvent at 2014-06-21 12:53:18
Repository: jfinal
Actor: 0x0001
Payload: {"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/jfinal/jfinal/pulls/45","id":17439133,"html_url":"https://github.com/jfinal/jfinal/pull/45","diff_url":"https://github.com/jfinal/jfinal/pull/45.diff","patch_url":"https://github.com/jfinal/jfinal/pull/45.patch","issue_url":"https://api.github.com/repos/jfinal/jfinal/issues/45","number":45,"state":"open","title":"errorMessage 修改成支持任意对象将更加灵活","user":{"login":"0x0001","id":2239315,"avatar_url":"https://avatars.githubusercontent.com/u/2239315?","gravatar_id":"4dbdfad3ebda32beae3a9b3b8064e20b","url":"https://api.github.com/users/0x0001","html_url":"https://github.com/0x0001","followers_url":"https://api.github.com/users/0x0001/followers","following_url":"https://api.github.com/users/0x0001/following{/other_user}","gists_url":"https://api.github.com/users/0x0001/gists{/gist_id}","starred_url":"https://api.github.com/users/0x0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x0001/subscriptions","organizations_url":"https://api.github.com/users/0x0001/orgs","repos_url":"https://api.github.com/users/0x0001/repos","events_url":"https://api.github.com/users/0x0001/events{/privacy}","received_events_url":"https://api.github.com/users/0x0001/received_events","type":"User","site_admin":false},"body":"在使用jfinal的时候,有个需求如果errorMessage支持其它对象的话,将很方便解决问题,目前做法是转换成json,然后再通过json转换成对象来处理的,希望能够修改成支持任意对象\r\n\r\nvalidateEmail(\"email\", \"err\", new ClientError(\"email 错误!\"));\r\n类似.\r\nvalidateEmail(\"email\", \"err\", new ServerError(\"email 错误!\"));\r\n将可以做到更多事情","created_at":"2014-06-21T12:53:17Z","updated_at":"2014-06-21T12:53:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80e51f7da550667c5094ff5151d708f82965eb6e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jfinal/jfinal/pulls/45/commits","review_comments_url":"https://api.github.com/repos/jfinal/jfinal/pulls/45/comments","review_comment_url":"https://api.github.com/repos/jfinal/jfinal/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jfinal/jfinal/issues/45/comments","statuses_url":"https://api.github.com/repos/jfinal/jfinal/statuses/dd06e75223ef819ab08faf5df704c5286fa4f2fd","head":{"label":"0x0001:patch-1","ref":"patch-1","sha":"dd06e75223ef819ab08faf5df704c5286fa4f2fd","user":{"login":"0x0001","id":2239315,"avatar_url":"https://avatars.githubusercontent.com/u/2239315?","gravatar_id":"4dbdfad3ebda32beae3a9b3b8064e20b","url":"https://api.github.com/users/0x0001","html_url":"https://github.com/0x0001","followers_url":"https://api.github.com/users/0x0001/followers","following_url":"https://api.github.com/users/0x0001/following{/other_user}","gists_url":"https://api.github.com/users/0x0001/gists{/gist_id}","starred_url":"https://api.github.com/users/0x0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x0001/subscriptions","organizations_url":"https://api.github.com/users/0x0001/orgs","repos_url":"https://api.github.com/users/0x0001/repos","events_url":"https://api.github.com/users/0x0001/events{/privacy}","received_events_url":"https://api.github.com/users/0x0001/received_events","type":"User","site_admin":false},"repo":{"id":21068328,"name":"jfinal","full_name":"0x0001/jfinal","owner":{"login":"0x0001","id":2239315,"avatar_url":"https://avatars.githubusercontent.com/u/2239315?","gravatar_id":"4dbdfad3ebda32beae3a9b3b8064e20b","url":"https://api.github.com/users/0x0001","html_url":"https://github.com/0x0001","followers_url":"https://api.github.com/users/0x0001/followers","following_url":"https://api.github.com/users/0x0001/following{/other_user}","gists_url":"https://api.github.com/users/0x0001/gists{/gist_id}","starred_url":"https://api.github.com/users/0x0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x0001/subscriptions","organizations_url":"https://api.github.com/users/0x0001/orgs","repos_url":"https://api.github.com/users/0x0001/repos","events_url":"https://api.github.com/users/0x0001/events{/privacy}","received_events_url":"https://api.github.com/users/0x0001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0x0001/jfinal","description":"JAVA WEB + ORM Framework","fork":true,"url":"https://api.github.com/repos/0x0001/jfinal","forks_url":"https://api.github.com/repos/0x0001/jfinal/forks","keys_url":"https://api.github.com/repos/0x0001/jfinal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0x0001/jfinal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0x0001/jfinal/teams","hooks_url":"https://api.github.com/repos/0x0001/jfinal/hooks","issue_events_url":"https://api.github.com/repos/0x0001/jfinal/issues/events{/number}","events_url":"https://api.github.com/repos/0x0001/jfinal/events","assignees_url":"https://api.github.com/repos/0x0001/jfinal/assignees{/user}","branches_url":"https://api.github.com/repos/0x0001/jfinal/branches{/branch}","tags_url":"https://api.github.com/repos/0x0001/jfinal/tags","blobs_url":"https://api.github.com/repos/0x0001/jfinal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0x0001/jfinal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0x0001/jfinal/git/refs{/sha}","trees_url":"https://api.github.com/repos/0x0001/jfinal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0x0001/jfinal/statuses/{sha}","languages_url":"https://api.github.com/repos/0x0001/jfinal/languages","stargazers_url":"https://api.github.com/repos/0x0001/jfinal/stargazers","contributors_url":"https://api.github.com/repos/0x0001/jfinal/contributors","subscribers_url":"https://api.github.com/repos/0x0001/jfinal/subscribers","subscription_url":"https://api.github.com/repos/0x0001/jfinal/subscription","commits_url":"https://api.github.com/repos/0x0001/jfinal/commits{/sha}","git_commits_url":"https://api.github.com/repos/0x0001/jfinal/git/commits{/sha}","comments_url":"https://api.github.com/repos/0x0001/jfinal/comments{/number}","issue_comment_url":"https://api.github.com/repos/0x0001/jfinal/issues/comments/{number}","contents_url":"https://api.github.com/repos/0x0001/jfinal/contents/{+path}","compare_url":"https://api.github.com/repos/0x0001/jfinal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0x0001/jfinal/merges","archive_url":"https://api.github.com/repos/0x0001/jfinal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0x0001/jfinal/downloads","issues_url":"https://api.github.com/repos/0x0001/jfinal/issues{/number}","pulls_url":"https://api.github.com/repos/0x0001/jfinal/pulls{/number}","milestones_url":"https://api.github.com/repos/0x0001/jfinal/milestones{/number}","notifications_url":"https://api.github.com/repos/0x0001/jfinal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0x0001/jfinal/labels{/name}","releases_url":"https://api.github.com/repos/0x0001/jfinal/releases{/id}","created_at":"2014-06-21T12:48:25Z","updated_at":"2014-06-21T12:53:17Z","pushed_at":"2014-06-21T12:53:12Z","git_url":"git://github.com/0x0001/jfinal.git","ssh_url":"git@github.com:0x0001/jfinal.git","clone_url":"https://github.com/0x0001/jfinal.git","svn_url":"https://github.com/0x0001/jfinal","homepage":"http://www.jfinal.com","size":32588,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jfinal:master","ref":"master","sha":"e7821e1127d1d8610b9d12773894efcd4a3e4741","user":{"login":"jfinal","id":1677603,"avatar_url":"https://avatars.githubusercontent.com/u/1677603?","gravatar_id":"a7e6feafbd1b4ee43323255edd31689e","url":"https://api.github.com/users/jfinal","html_url":"https://github.com/jfinal","followers_url":"https://api.github.com/users/jfinal/followers","following_url":"https://api.github.com/users/jfinal/following{/other_user}","gists_url":"https://api.github.com/users/jfinal/gists{/gist_id}","starred_url":"https://api.github.com/users/jfinal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfinal/subscriptions","organizations_url":"https://api.github.com/users/jfinal/orgs","repos_url":"https://api.github.com/users/jfinal/repos","events_url":"https://api.github.com/users/jfinal/events{/privacy}","received_events_url":"https://api.github.com/users/jfinal/received_events","type":"User","site_admin":false},"repo":{"id":4134560,"name":"jfinal","full_name":"jfinal/jfinal","owner":{"login":"jfinal","id":1677603,"avatar_url":"https://avatars.githubusercontent.com/u/1677603?","gravatar_id":"a7e6feafbd1b4ee43323255edd31689e","url":"https://api.github.com/users/jfinal","html_url":"https://github.com/jfinal","followers_url":"https://api.github.com/users/jfinal/followers","following_url":"https://api.github.com/users/jfinal/following{/other_user}","gists_url":"https://api.github.com/users/jfinal/gists{/gist_id}","starred_url":"https://api.github.com/users/jfinal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfinal/subscriptions","organizations_url":"https://api.github.com/users/jfinal/orgs","repos_url":"https://api.github.com/users/jfinal/repos","events_url":"https://api.github.com/users/jfinal/events{/privacy}","received_events_url":"https://api.github.com/users/jfinal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfinal/jfinal","description":"JAVA WEB + ORM Framework","fork":false,"url":"https://api.github.com/repos/jfinal/jfinal","forks_url":"https://api.github.com/repos/jfinal/jfinal/forks","keys_url":"https://api.github.com/repos/jfinal/jfinal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfinal/jfinal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfinal/jfinal/teams","hooks_url":"https://api.github.com/repos/jfinal/jfinal/hooks","issue_events_url":"https://api.github.com/repos/jfinal/jfinal/issues/events{/number}","events_url":"https://api.github.com/repos/jfinal/jfinal/events","assignees_url":"https://api.github.com/repos/jfinal/jfinal/assignees{/user}","branches_url":"https://api.github.com/repos/jfinal/jfinal/branches{/branch}","tags_url":"https://api.github.com/repos/jfinal/jfinal/tags","blobs_url":"https://api.github.com/repos/jfinal/jfinal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfinal/jfinal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfinal/jfinal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfinal/jfinal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfinal/jfinal/statuses/{sha}","languages_url":"https://api.github.com/repos/jfinal/jfinal/languages","stargazers_url":"https://api.github.com/repos/jfinal/jfinal/stargazers","contributors_url":"https://api.github.com/repos/jfinal/jfinal/contributors","subscribers_url":"https://api.github.com/repos/jfinal/jfinal/subscribers","subscription_url":"https://api.github.com/repos/jfinal/jfinal/subscription","commits_url":"https://api.github.com/repos/jfinal/jfinal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfinal/jfinal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfinal/jfinal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfinal/jfinal/issues/comments/{number}","contents_url":"https://api.github.com/repos/jfinal/jfinal/contents/{+path}","compare_url":"https://api.github.com/repos/jfinal/jfinal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfinal/jfinal/merges","archive_url":"https://api.github.com/repos/jfinal/jfinal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfinal/jfinal/downloads","issues_url":"https://api.github.com/repos/jfinal/jfinal/issues{/number}","pulls_url":"https://api.github.com/repos/jfinal/jfinal/pulls{/number}","milestones_url":"https://api.github.com/repos/jfinal/jfinal/milestones{/number}","notifications_url":"https://api.github.com/repos/jfinal/jfinal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfinal/jfinal/labels{/name}","releases_url":"https://api.github.com/repos/jfinal/jfinal/releases{/id}","created_at":"2012-04-25T08:48:48Z","updated_at":"2014-06-19T17:00:56Z","pushed_at":"2014-05-25T01:54:29Z","git_url":"git://github.com/jfinal/jfinal.git","ssh_url":"git@github.com:jfinal/jfinal.git","clone_url":"https://github.com/jfinal/jfinal.git","svn_url":"https://github.com/jfinal/jfinal","homepage":"http://www.jfinal.com","size":32588,"stargazers_count":349,"watchers_count":349,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":294,"mirror_url":null,"open_issues_count":19,"forks":294,"open_issues":19,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jfinal/jfinal/pulls/45"},"html":{"href":"https://github.com/jfinal/jfinal/pull/45"},"issue":{"href":"https://api.github.com/repos/jfinal/jfinal/issues/45"},"comments":{"href":"https://api.github.com/repos/jfinal/jfinal/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/jfinal/jfinal/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/jfinal/jfinal/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jfinal/jfinal/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/jfinal/jfinal/statuses/dd06e75223ef819ab08faf5df704c5286fa4f2fd"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":21,"changed_files":1}}