{"action":"created","comment":{"url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/comments/167278795","pull_request_review_id":91868113,"id":167278795,"diff_hunk":"@@ -0,0 +1,68 @@\n+/*\n+ *\n+ * Copyright 2017 EMBL - European Bioinformatics Institute\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ *\n+ */\n+package uk.ac.ebi.ampt2d.accession.serial.block;\n+\n+import java.util.PriorityQueue;\n+\n+public class MonotonicRangePriorityQueue extends PriorityQueue<MonotonicRange> {\n+\n+    private long totalOfValuesInQueue;","path":"src/main/java/uk/ac/ebi/ampt2d/accession/serial/block/MonotonicRangePriorityQueue.java","position":24,"original_position":24,"commit_id":"b0e42eafc90ed7a78b10ecc3dec60ca8ccf0ef1a","original_commit_id":"b0e42eafc90ed7a78b10ecc3dec60ca8ccf0ef1a","user":{"login":"cyenyxe","id":1433407,"avatar_url":"https://avatars0.githubusercontent.com/u/1433407?v=4","gravatar_id":"","url":"https://api.github.com/users/cyenyxe","html_url":"https://github.com/cyenyxe","followers_url":"https://api.github.com/users/cyenyxe/followers","following_url":"https://api.github.com/users/cyenyxe/following{/other_user}","gists_url":"https://api.github.com/users/cyenyxe/gists{/gist_id}","starred_url":"https://api.github.com/users/cyenyxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyenyxe/subscriptions","organizations_url":"https://api.github.com/users/cyenyxe/orgs","repos_url":"https://api.github.com/users/cyenyxe/repos","events_url":"https://api.github.com/users/cyenyxe/events{/privacy}","received_events_url":"https://api.github.com/users/cyenyxe/received_events","type":"User","site_admin":false},"body":"`numQueuedValues` is closer to our usual naming (and `totalOfValues` is not very idiomatic anyway :stuck_out_tongue_winking_eye: )","created_at":"2018-02-09T16:34:33Z","updated_at":"2018-02-09T16:46:22Z","html_url":"https://github.com/EBIvariation/amp-t2d-accession/pull/8#discussion_r167278795","pull_request_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/comments/167278795"},"html":{"href":"https://github.com/EBIvariation/amp-t2d-accession/pull/8#discussion_r167278795"},"pull_request":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8","id":163007343,"html_url":"https://github.com/EBIvariation/amp-t2d-accession/pull/8","diff_url":"https://github.com/EBIvariation/amp-t2d-accession/pull/8.diff","patch_url":"https://github.com/EBIvariation/amp-t2d-accession/pull/8.patch","issue_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/issues/8","number":8,"state":"open","locked":false,"title":"T2D-91 Monotonic ID Generator","user":{"login":"jorizci","id":13378840,"avatar_url":"https://avatars0.githubusercontent.com/u/13378840?v=4","gravatar_id":"","url":"https://api.github.com/users/jorizci","html_url":"https://github.com/jorizci","followers_url":"https://api.github.com/users/jorizci/followers","following_url":"https://api.github.com/users/jorizci/following{/other_user}","gists_url":"https://api.github.com/users/jorizci/gists{/gist_id}","starred_url":"https://api.github.com/users/jorizci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorizci/subscriptions","organizations_url":"https://api.github.com/users/jorizci/orgs","repos_url":"https://api.github.com/users/jorizci/repos","events_url":"https://api.github.com/users/jorizci/events{/privacy}","received_events_url":"https://api.github.com/users/jorizci/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-01-15T17:31:28Z","updated_at":"2018-02-09T16:46:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29eba66971ad2960e4817355fa93df8bb74ac69c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8/commits","review_comments_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8/comments","review_comment_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/issues/8/comments","statuses_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/statuses/b0e42eafc90ed7a78b10ecc3dec60ca8ccf0ef1a","head":{"label":"jorizci:feature/fileAccessioning","ref":"feature/fileAccessioning","sha":"b0e42eafc90ed7a78b10ecc3dec60ca8ccf0ef1a","user":{"login":"jorizci","id":13378840,"avatar_url":"https://avatars0.githubusercontent.com/u/13378840?v=4","gravatar_id":"","url":"https://api.github.com/users/jorizci","html_url":"https://github.com/jorizci","followers_url":"https://api.github.com/users/jorizci/followers","following_url":"https://api.github.com/users/jorizci/following{/other_user}","gists_url":"https://api.github.com/users/jorizci/gists{/gist_id}","starred_url":"https://api.github.com/users/jorizci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorizci/subscriptions","organizations_url":"https://api.github.com/users/jorizci/orgs","repos_url":"https://api.github.com/users/jorizci/repos","events_url":"https://api.github.com/users/jorizci/events{/privacy}","received_events_url":"https://api.github.com/users/jorizci/received_events","type":"User","site_admin":false},"repo":{"id":111921030,"name":"amp-t2d-accession","full_name":"jorizci/amp-t2d-accession","owner":{"login":"jorizci","id":13378840,"avatar_url":"https://avatars0.githubusercontent.com/u/13378840?v=4","gravatar_id":"","url":"https://api.github.com/users/jorizci","html_url":"https://github.com/jorizci","followers_url":"https://api.github.com/users/jorizci/followers","following_url":"https://api.github.com/users/jorizci/following{/other_user}","gists_url":"https://api.github.com/users/jorizci/gists{/gist_id}","starred_url":"https://api.github.com/users/jorizci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorizci/subscriptions","organizations_url":"https://api.github.com/users/jorizci/orgs","repos_url":"https://api.github.com/users/jorizci/repos","events_url":"https://api.github.com/users/jorizci/events{/privacy}","received_events_url":"https://api.github.com/users/jorizci/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jorizci/amp-t2d-accession","description":"Generic service for accessioning of any type of object","fork":true,"url":"https://api.github.com/repos/jorizci/amp-t2d-accession","forks_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/forks","keys_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/teams","hooks_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/hooks","issue_events_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/issues/events{/number}","events_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/events","assignees_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/assignees{/user}","branches_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/branches{/branch}","tags_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/tags","blobs_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/statuses/{sha}","languages_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/languages","stargazers_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/stargazers","contributors_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/contributors","subscribers_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/subscribers","subscription_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/subscription","commits_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/issues/comments{/number}","contents_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/contents/{+path}","compare_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/merges","archive_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/downloads","issues_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/issues{/number}","pulls_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/pulls{/number}","milestones_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/milestones{/number}","notifications_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/labels{/name}","releases_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/releases{/id}","deployments_url":"https://api.github.com/repos/jorizci/amp-t2d-accession/deployments","created_at":"2017-11-24T13:22:24Z","updated_at":"2017-11-24T13:22:26Z","pushed_at":"2018-02-05T21:39:28Z","git_url":"git://github.com/jorizci/amp-t2d-accession.git","ssh_url":"git@github.com:jorizci/amp-t2d-accession.git","clone_url":"https://github.com/jorizci/amp-t2d-accession.git","svn_url":"https://github.com/jorizci/amp-t2d-accession","homepage":null,"size":198,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EBIvariation:master","ref":"master","sha":"c35a35c4e7a41e192fa3f835bad183cfe6a94c4e","user":{"login":"EBIvariation","id":6419333,"avatar_url":"https://avatars1.githubusercontent.com/u/6419333?v=4","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"repo":{"id":84810176,"name":"amp-t2d-accession","full_name":"EBIvariation/amp-t2d-accession","owner":{"login":"EBIvariation","id":6419333,"avatar_url":"https://avatars1.githubusercontent.com/u/6419333?v=4","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EBIvariation/amp-t2d-accession","description":"Generic service for accessioning of any type of object","fork":false,"url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession","forks_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/forks","keys_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/teams","hooks_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/hooks","issue_events_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/issues/events{/number}","events_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/events","assignees_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/assignees{/user}","branches_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/branches{/branch}","tags_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/tags","blobs_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/git/refs{/sha}","trees_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/statuses/{sha}","languages_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/languages","stargazers_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/stargazers","contributors_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/contributors","subscribers_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/subscribers","subscription_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/subscription","commits_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/commits{/sha}","git_commits_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/git/commits{/sha}","comments_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/comments{/number}","issue_comment_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/issues/comments{/number}","contents_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/contents/{+path}","compare_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/merges","archive_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/downloads","issues_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/issues{/number}","pulls_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls{/number}","milestones_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/milestones{/number}","notifications_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/labels{/name}","releases_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/releases{/id}","deployments_url":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/deployments","created_at":"2017-03-13T09:51:26Z","updated_at":"2017-03-31T14:13:14Z","pushed_at":"2018-02-09T13:30:07Z","git_url":"git://github.com/EBIvariation/amp-t2d-accession.git","ssh_url":"git@github.com:EBIvariation/amp-t2d-accession.git","clone_url":"https://github.com/EBIvariation/amp-t2d-accession.git","svn_url":"https://github.com/EBIvariation/amp-t2d-accession","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":5,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8"},"html":{"href":"https://github.com/EBIvariation/amp-t2d-accession/pull/8"},"issue":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/issues/8"},"comments":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/EBIvariation/amp-t2d-accession/statuses/b0e42eafc90ed7a78b10ecc3dec60ca8ccf0ef1a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"cyenyxe"}}