{"action":"created","comment":{"url":"https://api.github.com/repos/javaslang/javaslang/pulls/comments/83367399","pull_request_review_id":4216418,"id":83367399,"diff_hunk":"@@ -0,0 +1,325 @@\n+/*\n+ * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ *\n+ */\n+\n+/*\n+ *\n+ *\n+ *\n+ *\n+ *\n+ * Written by Doug Lea with assistance from members of JCP JSR-166\n+ * Expert Group and released to the public domain, as explained at\n+ * http://creativecommons.org/publicdomain/zero/1.0/\n+ */\n+\n+package java.util.concurrent.atomic;\n+import java.util.function.IntUnaryOperator;\n+import java.util.function.IntBinaryOperator;\n+\n+/**\n+ * An {@code int} value that may be updated atomically.  See the\n+ * {@link java.util.concurrent.atomic} package specification for\n+ * description of the properties of atomic variables. An\n+ * {@code AtomicInteger} is used in applications such as atomically\n+ * incremented counters, and cannot be used as a replacement for an\n+ * {@link java.lang.Integer}. However, this class does extend\n+ * {@code Number} to allow uniform access by tools and utilities that\n+ * deal with numerically-based classes.\n+ *\n+ * @since 1.5\n+ * @author Doug Lea\n+ */\n+public class AtomicInteger extends Number implements java.io.Serializable {","path":"javaslang/src/main/resources/super/java/util/concurrent/atomic/AtomicInteger.java","position":53,"original_position":53,"commit_id":"32d437b0c09b3e646e3e0181e749d043b17eacb8","original_commit_id":"32d437b0c09b3e646e3e0181e749d043b17eacb8","user":{"login":"dharezlak","id":1506876,"avatar_url":"https://avatars.githubusercontent.com/u/1506876?v=3","gravatar_id":"","url":"https://api.github.com/users/dharezlak","html_url":"https://github.com/dharezlak","followers_url":"https://api.github.com/users/dharezlak/followers","following_url":"https://api.github.com/users/dharezlak/following{/other_user}","gists_url":"https://api.github.com/users/dharezlak/gists{/gist_id}","starred_url":"https://api.github.com/users/dharezlak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharezlak/subscriptions","organizations_url":"https://api.github.com/users/dharezlak/orgs","repos_url":"https://api.github.com/users/dharezlak/repos","events_url":"https://api.github.com/users/dharezlak/events{/privacy}","received_events_url":"https://api.github.com/users/dharezlak/received_events","type":"User","site_admin":false},"body":"Got it. It's used in the `javaslang.concurrent.Future` type.","created_at":"2016-10-14T07:03:37Z","updated_at":"2016-10-14T07:03:37Z","html_url":"https://github.com/javaslang/javaslang/pull/1616#discussion_r83367399","pull_request_url":"https://api.github.com/repos/javaslang/javaslang/pulls/1616","_links":{"self":{"href":"https://api.github.com/repos/javaslang/javaslang/pulls/comments/83367399"},"html":{"href":"https://github.com/javaslang/javaslang/pull/1616#discussion_r83367399"},"pull_request":{"href":"https://api.github.com/repos/javaslang/javaslang/pulls/1616"}}},"pull_request":{"url":"https://api.github.com/repos/javaslang/javaslang/pulls/1616","id":89212915,"html_url":"https://github.com/javaslang/javaslang/pull/1616","diff_url":"https://github.com/javaslang/javaslang/pull/1616.diff","patch_url":"https://github.com/javaslang/javaslang/pull/1616.patch","issue_url":"https://api.github.com/repos/javaslang/javaslang/issues/1616","number":1616,"state":"open","locked":false,"title":"GWT support for Promise and Future","user":{"login":"dharezlak","id":1506876,"avatar_url":"https://avatars.githubusercontent.com/u/1506876?v=3","gravatar_id":"","url":"https://api.github.com/users/dharezlak","html_url":"https://github.com/dharezlak","followers_url":"https://api.github.com/users/dharezlak/followers","following_url":"https://api.github.com/users/dharezlak/following{/other_user}","gists_url":"https://api.github.com/users/dharezlak/gists{/gist_id}","starred_url":"https://api.github.com/users/dharezlak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharezlak/subscriptions","organizations_url":"https://api.github.com/users/dharezlak/orgs","repos_url":"https://api.github.com/users/dharezlak/repos","events_url":"https://api.github.com/users/dharezlak/events{/privacy}","received_events_url":"https://api.github.com/users/dharezlak/received_events","type":"User","site_admin":false},"body":"Addresses https://github.com/javaslang/javaslang/issues/1615.\r\n\r\n- `javaslang.concurrent` package not ignored by GWT any more to minimize code duplicates,\r\n- temporary use of guava to super-source the `java.util.concurrent ` package,\r\n- `FutureImpl` overridden to get rid of `wait/notify` usage,\r\n- a few simplistic tests added.","created_at":"2016-10-13T14:25:43Z","updated_at":"2016-10-14T07:03:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb783c5433c3f38662fe5b50ab3570af803f4efa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/javaslang/javaslang/pulls/1616/commits","review_comments_url":"https://api.github.com/repos/javaslang/javaslang/pulls/1616/comments","review_comment_url":"https://api.github.com/repos/javaslang/javaslang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/javaslang/javaslang/issues/1616/comments","statuses_url":"https://api.github.com/repos/javaslang/javaslang/statuses/32d437b0c09b3e646e3e0181e749d043b17eacb8","head":{"label":"dharezlak:gwt-future-promise-support","ref":"gwt-future-promise-support","sha":"32d437b0c09b3e646e3e0181e749d043b17eacb8","user":{"login":"dharezlak","id":1506876,"avatar_url":"https://avatars.githubusercontent.com/u/1506876?v=3","gravatar_id":"","url":"https://api.github.com/users/dharezlak","html_url":"https://github.com/dharezlak","followers_url":"https://api.github.com/users/dharezlak/followers","following_url":"https://api.github.com/users/dharezlak/following{/other_user}","gists_url":"https://api.github.com/users/dharezlak/gists{/gist_id}","starred_url":"https://api.github.com/users/dharezlak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharezlak/subscriptions","organizations_url":"https://api.github.com/users/dharezlak/orgs","repos_url":"https://api.github.com/users/dharezlak/repos","events_url":"https://api.github.com/users/dharezlak/events{/privacy}","received_events_url":"https://api.github.com/users/dharezlak/received_events","type":"User","site_admin":false},"repo":{"id":70813420,"name":"javaslang","full_name":"dharezlak/javaslang","owner":{"login":"dharezlak","id":1506876,"avatar_url":"https://avatars.githubusercontent.com/u/1506876?v=3","gravatar_id":"","url":"https://api.github.com/users/dharezlak","html_url":"https://github.com/dharezlak","followers_url":"https://api.github.com/users/dharezlak/followers","following_url":"https://api.github.com/users/dharezlak/following{/other_user}","gists_url":"https://api.github.com/users/dharezlak/gists{/gist_id}","starred_url":"https://api.github.com/users/dharezlak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharezlak/subscriptions","organizations_url":"https://api.github.com/users/dharezlak/orgs","repos_url":"https://api.github.com/users/dharezlak/repos","events_url":"https://api.github.com/users/dharezlak/events{/privacy}","received_events_url":"https://api.github.com/users/dharezlak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dharezlak/javaslang","description":"Javaslang is an object-functional language extension to Java 8, which aims to reduce the lines of code and increase code quality. It provides persistent collections, functional abstractions for error handling, concurrent programming, pattern matching and much more.  Javaslang fuses the power of object-oriented programming with the elegance and robustness of functional programming. The most interesting part is a feature-rich, persistent collection library that smoothly integrates with Java's standard collections.","fork":true,"url":"https://api.github.com/repos/dharezlak/javaslang","forks_url":"https://api.github.com/repos/dharezlak/javaslang/forks","keys_url":"https://api.github.com/repos/dharezlak/javaslang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dharezlak/javaslang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dharezlak/javaslang/teams","hooks_url":"https://api.github.com/repos/dharezlak/javaslang/hooks","issue_events_url":"https://api.github.com/repos/dharezlak/javaslang/issues/events{/number}","events_url":"https://api.github.com/repos/dharezlak/javaslang/events","assignees_url":"https://api.github.com/repos/dharezlak/javaslang/assignees{/user}","branches_url":"https://api.github.com/repos/dharezlak/javaslang/branches{/branch}","tags_url":"https://api.github.com/repos/dharezlak/javaslang/tags","blobs_url":"https://api.github.com/repos/dharezlak/javaslang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dharezlak/javaslang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dharezlak/javaslang/git/refs{/sha}","trees_url":"https://api.github.com/repos/dharezlak/javaslang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dharezlak/javaslang/statuses/{sha}","languages_url":"https://api.github.com/repos/dharezlak/javaslang/languages","stargazers_url":"https://api.github.com/repos/dharezlak/javaslang/stargazers","contributors_url":"https://api.github.com/repos/dharezlak/javaslang/contributors","subscribers_url":"https://api.github.com/repos/dharezlak/javaslang/subscribers","subscription_url":"https://api.github.com/repos/dharezlak/javaslang/subscription","commits_url":"https://api.github.com/repos/dharezlak/javaslang/commits{/sha}","git_commits_url":"https://api.github.com/repos/dharezlak/javaslang/git/commits{/sha}","comments_url":"https://api.github.com/repos/dharezlak/javaslang/comments{/number}","issue_comment_url":"https://api.github.com/repos/dharezlak/javaslang/issues/comments{/number}","contents_url":"https://api.github.com/repos/dharezlak/javaslang/contents/{+path}","compare_url":"https://api.github.com/repos/dharezlak/javaslang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dharezlak/javaslang/merges","archive_url":"https://api.github.com/repos/dharezlak/javaslang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dharezlak/javaslang/downloads","issues_url":"https://api.github.com/repos/dharezlak/javaslang/issues{/number}","pulls_url":"https://api.github.com/repos/dharezlak/javaslang/pulls{/number}","milestones_url":"https://api.github.com/repos/dharezlak/javaslang/milestones{/number}","notifications_url":"https://api.github.com/repos/dharezlak/javaslang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dharezlak/javaslang/labels{/name}","releases_url":"https://api.github.com/repos/dharezlak/javaslang/releases{/id}","deployments_url":"https://api.github.com/repos/dharezlak/javaslang/deployments","created_at":"2016-10-13T14:11:29Z","updated_at":"2016-10-13T14:11:42Z","pushed_at":"2016-10-13T21:16:04Z","git_url":"git://github.com/dharezlak/javaslang.git","ssh_url":"git@github.com:dharezlak/javaslang.git","clone_url":"https://github.com/dharezlak/javaslang.git","svn_url":"https://github.com/dharezlak/javaslang","homepage":"http://javaslang.io","size":12960,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"javaslang:master","ref":"master","sha":"41bb9141da297be201249c52b22a7cb780e773d0","user":{"login":"javaslang","id":5786132,"avatar_url":"https://avatars.githubusercontent.com/u/5786132?v=3","gravatar_id":"","url":"https://api.github.com/users/javaslang","html_url":"https://github.com/javaslang","followers_url":"https://api.github.com/users/javaslang/followers","following_url":"https://api.github.com/users/javaslang/following{/other_user}","gists_url":"https://api.github.com/users/javaslang/gists{/gist_id}","starred_url":"https://api.github.com/users/javaslang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javaslang/subscriptions","organizations_url":"https://api.github.com/users/javaslang/orgs","repos_url":"https://api.github.com/users/javaslang/repos","events_url":"https://api.github.com/users/javaslang/events{/privacy}","received_events_url":"https://api.github.com/users/javaslang/received_events","type":"Organization","site_admin":false},"repo":{"id":16378879,"name":"javaslang","full_name":"javaslang/javaslang","owner":{"login":"javaslang","id":5786132,"avatar_url":"https://avatars.githubusercontent.com/u/5786132?v=3","gravatar_id":"","url":"https://api.github.com/users/javaslang","html_url":"https://github.com/javaslang","followers_url":"https://api.github.com/users/javaslang/followers","following_url":"https://api.github.com/users/javaslang/following{/other_user}","gists_url":"https://api.github.com/users/javaslang/gists{/gist_id}","starred_url":"https://api.github.com/users/javaslang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javaslang/subscriptions","organizations_url":"https://api.github.com/users/javaslang/orgs","repos_url":"https://api.github.com/users/javaslang/repos","events_url":"https://api.github.com/users/javaslang/events{/privacy}","received_events_url":"https://api.github.com/users/javaslang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javaslang/javaslang","description":"Javaslang is an object-functional language extension to Java 8, which aims to reduce the lines of code and increase code quality. It provides persistent collections, functional abstractions for error handling, concurrent programming, pattern matching and much more.  Javaslang fuses the power of object-oriented programming with the elegance and robustness of functional programming. The most interesting part is a feature-rich, persistent collection library that smoothly integrates with Java's standard collections.","fork":false,"url":"https://api.github.com/repos/javaslang/javaslang","forks_url":"https://api.github.com/repos/javaslang/javaslang/forks","keys_url":"https://api.github.com/repos/javaslang/javaslang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javaslang/javaslang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javaslang/javaslang/teams","hooks_url":"https://api.github.com/repos/javaslang/javaslang/hooks","issue_events_url":"https://api.github.com/repos/javaslang/javaslang/issues/events{/number}","events_url":"https://api.github.com/repos/javaslang/javaslang/events","assignees_url":"https://api.github.com/repos/javaslang/javaslang/assignees{/user}","branches_url":"https://api.github.com/repos/javaslang/javaslang/branches{/branch}","tags_url":"https://api.github.com/repos/javaslang/javaslang/tags","blobs_url":"https://api.github.com/repos/javaslang/javaslang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javaslang/javaslang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javaslang/javaslang/git/refs{/sha}","trees_url":"https://api.github.com/repos/javaslang/javaslang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javaslang/javaslang/statuses/{sha}","languages_url":"https://api.github.com/repos/javaslang/javaslang/languages","stargazers_url":"https://api.github.com/repos/javaslang/javaslang/stargazers","contributors_url":"https://api.github.com/repos/javaslang/javaslang/contributors","subscribers_url":"https://api.github.com/repos/javaslang/javaslang/subscribers","subscription_url":"https://api.github.com/repos/javaslang/javaslang/subscription","commits_url":"https://api.github.com/repos/javaslang/javaslang/commits{/sha}","git_commits_url":"https://api.github.com/repos/javaslang/javaslang/git/commits{/sha}","comments_url":"https://api.github.com/repos/javaslang/javaslang/comments{/number}","issue_comment_url":"https://api.github.com/repos/javaslang/javaslang/issues/comments{/number}","contents_url":"https://api.github.com/repos/javaslang/javaslang/contents/{+path}","compare_url":"https://api.github.com/repos/javaslang/javaslang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javaslang/javaslang/merges","archive_url":"https://api.github.com/repos/javaslang/javaslang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javaslang/javaslang/downloads","issues_url":"https://api.github.com/repos/javaslang/javaslang/issues{/number}","pulls_url":"https://api.github.com/repos/javaslang/javaslang/pulls{/number}","milestones_url":"https://api.github.com/repos/javaslang/javaslang/milestones{/number}","notifications_url":"https://api.github.com/repos/javaslang/javaslang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javaslang/javaslang/labels{/name}","releases_url":"https://api.github.com/repos/javaslang/javaslang/releases{/id}","deployments_url":"https://api.github.com/repos/javaslang/javaslang/deployments","created_at":"2014-01-30T14:07:25Z","updated_at":"2016-10-13T15:00:02Z","pushed_at":"2016-10-14T05:59:10Z","git_url":"git://github.com/javaslang/javaslang.git","ssh_url":"git@github.com:javaslang/javaslang.git","clone_url":"https://github.com/javaslang/javaslang.git","svn_url":"https://github.com/javaslang/javaslang","homepage":"http://javaslang.io","size":14611,"stargazers_count":1218,"watchers_count":1218,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":140,"mirror_url":null,"open_issues_count":133,"forks":140,"open_issues":133,"watchers":1218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/javaslang/javaslang/pulls/1616"},"html":{"href":"https://github.com/javaslang/javaslang/pull/1616"},"issue":{"href":"https://api.github.com/repos/javaslang/javaslang/issues/1616"},"comments":{"href":"https://api.github.com/repos/javaslang/javaslang/issues/1616/comments"},"review_comments":{"href":"https://api.github.com/repos/javaslang/javaslang/pulls/1616/comments"},"review_comment":{"href":"https://api.github.com/repos/javaslang/javaslang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/javaslang/javaslang/pulls/1616/commits"},"statuses":{"href":"https://api.github.com/repos/javaslang/javaslang/statuses/32d437b0c09b3e646e3e0181e749d043b17eacb8"}}}}
{"actor":{"display_login":"dharezlak"}}