{"action":"created","comment":{"url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/comments/54537666","id":54537666,"diff_hunk":"@@ -0,0 +1,147 @@\n+/*\n+ * Copyright (c) 2014 aleon GmbH.\n+ * All rights reserved. This program and the accompanying materials\n+ * are made available under the terms of the Eclipse Public License v1.0\n+ * which accompanies this distribution, and is available at\n+ * http://www.eclipse.org/legal/epl-v10.html\n+ *\n+ * Note for all commercial users of this library:\n+ * Please contact the EnOcean Alliance (http://www.enocean-alliance.org/)\n+ * about a possible requirement to become member of the alliance to use the\n+ * EnOcean protocol implementations.\n+ *\n+ * Contributors:\n+ *    Markus Rathgeb - initial API and implementation and/or initial documentation\n+ */\n+package org.openhab.binding.aleoncean.internal.converter.paramcitemc;\n+\n+import org.openhab.binding.aleoncean.internal.ActionIn;\n+import org.openhab.binding.aleoncean.internal.converter.ParameterClassItemClassConverter;\n+import org.openhab.binding.aleoncean.internal.devices.ItemInfo;\n+import org.openhab.core.events.EventPublisher;\n+import org.openhab.core.items.Item;\n+import org.openhab.core.library.items.DimmerItem;\n+import org.openhab.core.library.types.OnOffType;\n+import org.openhab.core.library.types.IncreaseDecreaseType;\n+import org.openhab.core.types.Command;\n+import org.openhab.core.types.State;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import static java.util.concurrent.TimeUnit.*;\n+import java.util.concurrent.*;\n+import eu.aleon.aleoncean.values.RockerSwitchAction;\n+\n+/**\n+ *\n+ * @author Markus Rathgeb <maggu2810@gmail.com>","path":"src/main/java/org/openhab/binding/aleoncean/internal/converter/paramcitemc/RockerSwitchActionDimmerItem.java","position":36,"original_position":36,"commit_id":"95d93d4f15d66e35b11a30514c26b9ba441e80c0","original_commit_id":"95d93d4f15d66e35b11a30514c26b9ba441e80c0","user":{"login":"maggu2810","id":204670,"avatar_url":"https://avatars.githubusercontent.com/u/204670?v=3","gravatar_id":"","url":"https://api.github.com/users/maggu2810","html_url":"https://github.com/maggu2810","followers_url":"https://api.github.com/users/maggu2810/followers","following_url":"https://api.github.com/users/maggu2810/following{/other_user}","gists_url":"https://api.github.com/users/maggu2810/gists{/gist_id}","starred_url":"https://api.github.com/users/maggu2810/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggu2810/subscriptions","organizations_url":"https://api.github.com/users/maggu2810/orgs","repos_url":"https://api.github.com/users/maggu2810/repos","events_url":"https://api.github.com/users/maggu2810/events{/privacy}","received_events_url":"https://api.github.com/users/maggu2810/received_events","type":"User","site_admin":false},"body":"Don't think so ;)\r\n\r\nBut I am fine, do remove the author and above the contributors line at all.\r\nIMHO the Git history identify which change is done by which person.\r\nI will not add it for new files, as I don't see any advantage to add information in the source code that is present in the VCS.","created_at":"2016-03-01T08:57:29Z","updated_at":"2016-03-01T08:57:29Z","html_url":"https://github.com/aleon-GmbH/aleoncean-openhab-binding/pull/13#discussion_r54537666","pull_request_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/comments/54537666"},"html":{"href":"https://github.com/aleon-GmbH/aleoncean-openhab-binding/pull/13#discussion_r54537666"},"pull_request":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13","id":61124828,"html_url":"https://github.com/aleon-GmbH/aleoncean-openhab-binding/pull/13","diff_url":"https://github.com/aleon-GmbH/aleoncean-openhab-binding/pull/13.diff","patch_url":"https://github.com/aleon-GmbH/aleoncean-openhab-binding/pull/13.patch","issue_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/issues/13","number":13,"state":"open","locked":false,"title":"FIxed potential NPE with incorrect binding configuration","user":{"login":"kungfoolfighting","id":17553106,"avatar_url":"https://avatars.githubusercontent.com/u/17553106?v=3","gravatar_id":"","url":"https://api.github.com/users/kungfoolfighting","html_url":"https://github.com/kungfoolfighting","followers_url":"https://api.github.com/users/kungfoolfighting/followers","following_url":"https://api.github.com/users/kungfoolfighting/following{/other_user}","gists_url":"https://api.github.com/users/kungfoolfighting/gists{/gist_id}","starred_url":"https://api.github.com/users/kungfoolfighting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kungfoolfighting/subscriptions","organizations_url":"https://api.github.com/users/kungfoolfighting/orgs","repos_url":"https://api.github.com/users/kungfoolfighting/repos","events_url":"https://api.github.com/users/kungfoolfighting/events{/privacy}","received_events_url":"https://api.github.com/users/kungfoolfighting/received_events","type":"User","site_admin":false},"body":"FIxed potential NPE with incorrect binding configuration (invalid CONV_PARAM for item/device combination) by user.","created_at":"2016-02-29T18:50:13Z","updated_at":"2016-03-01T08:57:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1afc02387b1cd291e6bff2933008e83d1e6b32f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13/commits","review_comments_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13/comments","review_comment_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/issues/13/comments","statuses_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/statuses/95d93d4f15d66e35b11a30514c26b9ba441e80c0","head":{"label":"kungfoolfighting:master","ref":"master","sha":"95d93d4f15d66e35b11a30514c26b9ba441e80c0","user":{"login":"kungfoolfighting","id":17553106,"avatar_url":"https://avatars.githubusercontent.com/u/17553106?v=3","gravatar_id":"","url":"https://api.github.com/users/kungfoolfighting","html_url":"https://github.com/kungfoolfighting","followers_url":"https://api.github.com/users/kungfoolfighting/followers","following_url":"https://api.github.com/users/kungfoolfighting/following{/other_user}","gists_url":"https://api.github.com/users/kungfoolfighting/gists{/gist_id}","starred_url":"https://api.github.com/users/kungfoolfighting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kungfoolfighting/subscriptions","organizations_url":"https://api.github.com/users/kungfoolfighting/orgs","repos_url":"https://api.github.com/users/kungfoolfighting/repos","events_url":"https://api.github.com/users/kungfoolfighting/events{/privacy}","received_events_url":"https://api.github.com/users/kungfoolfighting/received_events","type":"User","site_admin":false},"repo":{"id":52813145,"name":"aleoncean-openhab-binding","full_name":"kungfoolfighting/aleoncean-openhab-binding","owner":{"login":"kungfoolfighting","id":17553106,"avatar_url":"https://avatars.githubusercontent.com/u/17553106?v=3","gravatar_id":"","url":"https://api.github.com/users/kungfoolfighting","html_url":"https://github.com/kungfoolfighting","followers_url":"https://api.github.com/users/kungfoolfighting/followers","following_url":"https://api.github.com/users/kungfoolfighting/following{/other_user}","gists_url":"https://api.github.com/users/kungfoolfighting/gists{/gist_id}","starred_url":"https://api.github.com/users/kungfoolfighting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kungfoolfighting/subscriptions","organizations_url":"https://api.github.com/users/kungfoolfighting/orgs","repos_url":"https://api.github.com/users/kungfoolfighting/repos","events_url":"https://api.github.com/users/kungfoolfighting/events{/privacy}","received_events_url":"https://api.github.com/users/kungfoolfighting/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kungfoolfighting/aleoncean-openhab-binding","description":"","fork":true,"url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding","forks_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/forks","keys_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/teams","hooks_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/hooks","issue_events_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/issues/events{/number}","events_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/events","assignees_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/assignees{/user}","branches_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/branches{/branch}","tags_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/tags","blobs_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/git/refs{/sha}","trees_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/statuses/{sha}","languages_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/languages","stargazers_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/stargazers","contributors_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/contributors","subscribers_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/subscribers","subscription_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/subscription","commits_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/commits{/sha}","git_commits_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/git/commits{/sha}","comments_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/comments{/number}","issue_comment_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/issues/comments{/number}","contents_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/contents/{+path}","compare_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/merges","archive_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/downloads","issues_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/issues{/number}","pulls_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/pulls{/number}","milestones_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/milestones{/number}","notifications_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/labels{/name}","releases_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/releases{/id}","deployments_url":"https://api.github.com/repos/kungfoolfighting/aleoncean-openhab-binding/deployments","created_at":"2016-02-29T18:23:06Z","updated_at":"2016-02-29T18:23:07Z","pushed_at":"2016-02-29T19:52:37Z","git_url":"git://github.com/kungfoolfighting/aleoncean-openhab-binding.git","ssh_url":"git@github.com:kungfoolfighting/aleoncean-openhab-binding.git","clone_url":"https://github.com/kungfoolfighting/aleoncean-openhab-binding.git","svn_url":"https://github.com/kungfoolfighting/aleoncean-openhab-binding","homepage":null,"size":2251,"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":"aleon-GmbH:master","ref":"master","sha":"d3b9a2a4dbae952c1383a1515333f946e56c5aec","user":{"login":"aleon-GmbH","id":8298692,"avatar_url":"https://avatars.githubusercontent.com/u/8298692?v=3","gravatar_id":"","url":"https://api.github.com/users/aleon-GmbH","html_url":"https://github.com/aleon-GmbH","followers_url":"https://api.github.com/users/aleon-GmbH/followers","following_url":"https://api.github.com/users/aleon-GmbH/following{/other_user}","gists_url":"https://api.github.com/users/aleon-GmbH/gists{/gist_id}","starred_url":"https://api.github.com/users/aleon-GmbH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleon-GmbH/subscriptions","organizations_url":"https://api.github.com/users/aleon-GmbH/orgs","repos_url":"https://api.github.com/users/aleon-GmbH/repos","events_url":"https://api.github.com/users/aleon-GmbH/events{/privacy}","received_events_url":"https://api.github.com/users/aleon-GmbH/received_events","type":"Organization","site_admin":false},"repo":{"id":28038107,"name":"aleoncean-openhab-binding","full_name":"aleon-GmbH/aleoncean-openhab-binding","owner":{"login":"aleon-GmbH","id":8298692,"avatar_url":"https://avatars.githubusercontent.com/u/8298692?v=3","gravatar_id":"","url":"https://api.github.com/users/aleon-GmbH","html_url":"https://github.com/aleon-GmbH","followers_url":"https://api.github.com/users/aleon-GmbH/followers","following_url":"https://api.github.com/users/aleon-GmbH/following{/other_user}","gists_url":"https://api.github.com/users/aleon-GmbH/gists{/gist_id}","starred_url":"https://api.github.com/users/aleon-GmbH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleon-GmbH/subscriptions","organizations_url":"https://api.github.com/users/aleon-GmbH/orgs","repos_url":"https://api.github.com/users/aleon-GmbH/repos","events_url":"https://api.github.com/users/aleon-GmbH/events{/privacy}","received_events_url":"https://api.github.com/users/aleon-GmbH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aleon-GmbH/aleoncean-openhab-binding","description":"","fork":false,"url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding","forks_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/forks","keys_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/teams","hooks_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/hooks","issue_events_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/issues/events{/number}","events_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/events","assignees_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/assignees{/user}","branches_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/branches{/branch}","tags_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/tags","blobs_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/git/refs{/sha}","trees_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/statuses/{sha}","languages_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/languages","stargazers_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/stargazers","contributors_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/contributors","subscribers_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/subscribers","subscription_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/subscription","commits_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/commits{/sha}","git_commits_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/git/commits{/sha}","comments_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/comments{/number}","issue_comment_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/issues/comments{/number}","contents_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/contents/{+path}","compare_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/merges","archive_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/downloads","issues_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/issues{/number}","pulls_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls{/number}","milestones_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/milestones{/number}","notifications_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/labels{/name}","releases_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/releases{/id}","deployments_url":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/deployments","created_at":"2014-12-15T13:34:20Z","updated_at":"2016-02-05T09:12:04Z","pushed_at":"2016-02-29T19:54:37Z","git_url":"git://github.com/aleon-GmbH/aleoncean-openhab-binding.git","ssh_url":"git@github.com:aleon-GmbH/aleoncean-openhab-binding.git","clone_url":"https://github.com/aleon-GmbH/aleoncean-openhab-binding.git","svn_url":"https://github.com/aleon-GmbH/aleoncean-openhab-binding","homepage":null,"size":2249,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13"},"html":{"href":"https://github.com/aleon-GmbH/aleoncean-openhab-binding/pull/13"},"issue":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/issues/13"},"comments":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/aleon-GmbH/aleoncean-openhab-binding/statuses/95d93d4f15d66e35b11a30514c26b9ba441e80c0"}}}}