{"action":"closed","issue":{"url":"https://api.github.com/repos/redisson/redisson/issues/1675","repository_url":"https://api.github.com/repos/redisson/redisson","labels_url":"https://api.github.com/repos/redisson/redisson/issues/1675/labels{/name}","comments_url":"https://api.github.com/repos/redisson/redisson/issues/1675/comments","events_url":"https://api.github.com/repos/redisson/redisson/issues/1675/events","html_url":"https://github.com/redisson/redisson/issues/1675","id":369816074,"node_id":"MDU6SXNzdWUzNjk4MTYwNzQ=","number":1675,"title":"RSemaphore not compatible with java.util.concurrent.Semaphore","user":{"login":"jeskew","id":705500,"node_id":"MDQ6VXNlcjcwNTUwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/705500?v=4","gravatar_id":"","url":"https://api.github.com/users/jeskew","html_url":"https://github.com/jeskew","followers_url":"https://api.github.com/users/jeskew/followers","following_url":"https://api.github.com/users/jeskew/following{/other_user}","gists_url":"https://api.github.com/users/jeskew/gists{/gist_id}","starred_url":"https://api.github.com/users/jeskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeskew/subscriptions","organizations_url":"https://api.github.com/users/jeskew/orgs","repos_url":"https://api.github.com/users/jeskew/repos","events_url":"https://api.github.com/users/jeskew/events{/privacy}","received_events_url":"https://api.github.com/users/jeskew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-13T16:08:26Z","updated_at":"2018-10-15T10:18:56Z","closed_at":"2018-10-15T10:18:56Z","author_association":"NONE","body":"<!--\r\nPlease consider to take commercial 24x7 support included in PRO version https://redisson.pro\r\n-->\r\n\r\n### Expected behavior\r\n```java\r\nimport java.util.concurrent.Semaphore;\r\nimport org.redisson.Redisson;\r\n\r\nSemaphore semaphore = Redisson.create().getSemaphore(\"foo\");\r\n```\r\n\r\n### Actual behavior\r\n\r\n`Error:(65, 57) java: incompatible types: org.redisson.api.RSemaphore cannot be converted to java.util.concurrent.Semaphore`\r\n\r\n\r\nJust out of curiosity, why doesn't the `org.redisson.api.RSemaphore` interface extend the `java.util.concurrent.Semaphore` interface?\r\n"}}
{"actor":{"display_login":"jackygurui"}}