{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/2","id":68395028,"html_url":"https://github.com/cybertiger/Bukkit-DuckLog/pull/2","diff_url":"https://github.com/cybertiger/Bukkit-DuckLog/pull/2.diff","patch_url":"https://github.com/cybertiger/Bukkit-DuckLog/pull/2.patch","issue_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/issues/2","number":2,"state":"open","locked":false,"title":"Removing Joda.time dependency","user":{"login":"Jabelpeeps","id":9305440,"avatar_url":"https://avatars.githubusercontent.com/u/9305440?v=3","gravatar_id":"","url":"https://api.github.com/users/Jabelpeeps","html_url":"https://github.com/Jabelpeeps","followers_url":"https://api.github.com/users/Jabelpeeps/followers","following_url":"https://api.github.com/users/Jabelpeeps/following{/other_user}","gists_url":"https://api.github.com/users/Jabelpeeps/gists{/gist_id}","starred_url":"https://api.github.com/users/Jabelpeeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jabelpeeps/subscriptions","organizations_url":"https://api.github.com/users/Jabelpeeps/orgs","repos_url":"https://api.github.com/users/Jabelpeeps/repos","events_url":"https://api.github.com/users/Jabelpeeps/events{/privacy}","received_events_url":"https://api.github.com/users/Jabelpeeps/received_events","type":"User","site_admin":false},"body":"I realise this modification may be less welcome than my first PR, which is why I've put it in a separate branch. :-)\r\n\r\nYou'll be able to see from the series of commits that I started out with using the Joda.time classes to implement a shorter format for the duration messages - moving from using full words, to abbreviations.\r\n\r\nFrom reading joda javadocs, I realised that the library was doing a lot of work ensuring that the formatted durations strictly followed the gregorian calendar's idiosyncrasies when all I was interested in was dividing the duration into suitable size chunks.  \r\n\r\nI then wrote my own method to chunk the durations from their millisecond values, and used Main.getmessage() to format them from patterns I have added to locale.properties.\r\n\r\nThe net result of this - as well as getting the formatting how I wanted it - was a reduction in the size of the compiled .jar from >700k to just over 50k.\r\n\r\nI hope you like it.","created_at":"2016-04-29T16:05:10Z","updated_at":"2016-04-29T16:05:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/2/commits","review_comments_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/2/comments","review_comment_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/issues/2/comments","statuses_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/statuses/361634fb91ec6d7df0e28a6f331cdc7891616a5e","head":{"label":"Jabelpeeps:remove_joda.time_dependency","ref":"remove_joda.time_dependency","sha":"361634fb91ec6d7df0e28a6f331cdc7891616a5e","user":{"login":"Jabelpeeps","id":9305440,"avatar_url":"https://avatars.githubusercontent.com/u/9305440?v=3","gravatar_id":"","url":"https://api.github.com/users/Jabelpeeps","html_url":"https://github.com/Jabelpeeps","followers_url":"https://api.github.com/users/Jabelpeeps/followers","following_url":"https://api.github.com/users/Jabelpeeps/following{/other_user}","gists_url":"https://api.github.com/users/Jabelpeeps/gists{/gist_id}","starred_url":"https://api.github.com/users/Jabelpeeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jabelpeeps/subscriptions","organizations_url":"https://api.github.com/users/Jabelpeeps/orgs","repos_url":"https://api.github.com/users/Jabelpeeps/repos","events_url":"https://api.github.com/users/Jabelpeeps/events{/privacy}","received_events_url":"https://api.github.com/users/Jabelpeeps/received_events","type":"User","site_admin":false},"repo":{"id":56240446,"name":"Bukkit-DuckLog","full_name":"Jabelpeeps/Bukkit-DuckLog","owner":{"login":"Jabelpeeps","id":9305440,"avatar_url":"https://avatars.githubusercontent.com/u/9305440?v=3","gravatar_id":"","url":"https://api.github.com/users/Jabelpeeps","html_url":"https://github.com/Jabelpeeps","followers_url":"https://api.github.com/users/Jabelpeeps/followers","following_url":"https://api.github.com/users/Jabelpeeps/following{/other_user}","gists_url":"https://api.github.com/users/Jabelpeeps/gists{/gist_id}","starred_url":"https://api.github.com/users/Jabelpeeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jabelpeeps/subscriptions","organizations_url":"https://api.github.com/users/Jabelpeeps/orgs","repos_url":"https://api.github.com/users/Jabelpeeps/repos","events_url":"https://api.github.com/users/Jabelpeeps/events{/privacy}","received_events_url":"https://api.github.com/users/Jabelpeeps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jabelpeeps/Bukkit-DuckLog","description":"","fork":true,"url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog","forks_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/forks","keys_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/teams","hooks_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/hooks","issue_events_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/issues/events{/number}","events_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/events","assignees_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/assignees{/user}","branches_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/branches{/branch}","tags_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/tags","blobs_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/statuses/{sha}","languages_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/languages","stargazers_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/stargazers","contributors_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/contributors","subscribers_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/subscribers","subscription_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/subscription","commits_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/contents/{+path}","compare_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/merges","archive_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/downloads","issues_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/issues{/number}","pulls_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/pulls{/number}","milestones_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/milestones{/number}","notifications_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/labels{/name}","releases_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/releases{/id}","deployments_url":"https://api.github.com/repos/Jabelpeeps/Bukkit-DuckLog/deployments","created_at":"2016-04-14T13:39:32Z","updated_at":"2016-04-14T13:39:33Z","pushed_at":"2016-04-23T00:05:16Z","git_url":"git://github.com/Jabelpeeps/Bukkit-DuckLog.git","ssh_url":"git@github.com:Jabelpeeps/Bukkit-DuckLog.git","clone_url":"https://github.com/Jabelpeeps/Bukkit-DuckLog.git","svn_url":"https://github.com/Jabelpeeps/Bukkit-DuckLog","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cybertiger:master","ref":"master","sha":"3e35747947cb0e0645488e71a3003bcf6dd6d038","user":{"login":"cybertiger","id":391314,"avatar_url":"https://avatars.githubusercontent.com/u/391314?v=3","gravatar_id":"","url":"https://api.github.com/users/cybertiger","html_url":"https://github.com/cybertiger","followers_url":"https://api.github.com/users/cybertiger/followers","following_url":"https://api.github.com/users/cybertiger/following{/other_user}","gists_url":"https://api.github.com/users/cybertiger/gists{/gist_id}","starred_url":"https://api.github.com/users/cybertiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybertiger/subscriptions","organizations_url":"https://api.github.com/users/cybertiger/orgs","repos_url":"https://api.github.com/users/cybertiger/repos","events_url":"https://api.github.com/users/cybertiger/events{/privacy}","received_events_url":"https://api.github.com/users/cybertiger/received_events","type":"User","site_admin":false},"repo":{"id":54196361,"name":"Bukkit-DuckLog","full_name":"cybertiger/Bukkit-DuckLog","owner":{"login":"cybertiger","id":391314,"avatar_url":"https://avatars.githubusercontent.com/u/391314?v=3","gravatar_id":"","url":"https://api.github.com/users/cybertiger","html_url":"https://github.com/cybertiger","followers_url":"https://api.github.com/users/cybertiger/followers","following_url":"https://api.github.com/users/cybertiger/following{/other_user}","gists_url":"https://api.github.com/users/cybertiger/gists{/gist_id}","starred_url":"https://api.github.com/users/cybertiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybertiger/subscriptions","organizations_url":"https://api.github.com/users/cybertiger/orgs","repos_url":"https://api.github.com/users/cybertiger/repos","events_url":"https://api.github.com/users/cybertiger/events{/privacy}","received_events_url":"https://api.github.com/users/cybertiger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cybertiger/Bukkit-DuckLog","description":"","fork":false,"url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog","forks_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/forks","keys_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/teams","hooks_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/hooks","issue_events_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/issues/events{/number}","events_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/events","assignees_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/assignees{/user}","branches_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/branches{/branch}","tags_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/tags","blobs_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/statuses/{sha}","languages_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/languages","stargazers_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/stargazers","contributors_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/contributors","subscribers_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/subscribers","subscription_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/subscription","commits_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/contents/{+path}","compare_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/merges","archive_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/downloads","issues_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/issues{/number}","pulls_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls{/number}","milestones_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/milestones{/number}","notifications_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/labels{/name}","releases_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/releases{/id}","deployments_url":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/deployments","created_at":"2016-03-18T11:28:09Z","updated_at":"2016-03-18T11:28:50Z","pushed_at":"2016-04-16T00:54:46Z","git_url":"git://github.com/cybertiger/Bukkit-DuckLog.git","ssh_url":"git@github.com:cybertiger/Bukkit-DuckLog.git","clone_url":"https://github.com/cybertiger/Bukkit-DuckLog.git","svn_url":"https://github.com/cybertiger/Bukkit-DuckLog","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/2"},"html":{"href":"https://github.com/cybertiger/Bukkit-DuckLog/pull/2"},"issue":{"href":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/issues/2"},"comments":{"href":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/cybertiger/Bukkit-DuckLog/statuses/361634fb91ec6d7df0e28a6f331cdc7891616a5e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":225,"deletions":35,"changed_files":13}}