{"action":"created","comment":{"url":"https://api.github.com/repos/robvanderleek/JLifx/pulls/comments/88564918","pull_request_review_id":9136405,"id":88564918,"diff_hunk":"@@ -0,0 +1,143 @@\n+package jlifx.bulb;\n+\n+import java.io.IOException;\n+import java.net.DatagramPacket;\n+import java.net.DatagramSocket;\n+import java.net.InetAddress;\n+import java.net.InterfaceAddress;\n+import java.net.NetworkInterface;\n+import java.net.SocketException;\n+import java.net.SocketTimeoutException;\n+import java.util.ArrayList;\n+import java.util.Collection;\n+import java.util.Collections;\n+import java.util.HashSet;\n+import java.util.List;\n+import java.util.Set;\n+\n+import org.apache.commons.logging.Log;\n+import org.apache.commons.logging.LogFactory;\n+\n+import jlifx.packet.Packet;\n+import jlifx.packet.StatusResponsePacket;\n+\n+public final class DiscoveryService {\n+    public static final int DISCOVERY_SERVICE_PORT = 56700;\n+    private static final Log LOG = LogFactory.getLog(DiscoveryService.class);\n+    private static int gatewayDiscoveryPort = 56700;\n+    private static boolean ignoreGatewaysOnLocalhost = true;\n+\n+    private DiscoveryService() {}","path":"old/DiscoveryService.java","position":30,"original_position":30,"commit_id":"38faeb142642e6643ed441a82c0586dbef6e7537","original_commit_id":"38faeb142642e6643ed441a82c0586dbef6e7537","user":{"login":"sputnikci","id":15047461,"avatar_url":"https://avatars.githubusercontent.com/u/15047461?v=3","gravatar_id":"","url":"https://api.github.com/users/sputnikci","html_url":"https://github.com/sputnikci","followers_url":"https://api.github.com/users/sputnikci/followers","following_url":"https://api.github.com/users/sputnikci/following{/other_user}","gists_url":"https://api.github.com/users/sputnikci/gists{/gist_id}","starred_url":"https://api.github.com/users/sputnikci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sputnikci/subscriptions","organizations_url":"https://api.github.com/users/sputnikci/orgs","repos_url":"https://api.github.com/users/sputnikci/repos","events_url":"https://api.github.com/users/sputnikci/events{/privacy}","received_events_url":"https://api.github.com/users/sputnikci/received_events","type":"User","site_admin":false},"body":"\\[Checkstyle\\] ERROR: '\\}' is not preceded with whitespace\\.","created_at":"2016-11-17T22:48:56Z","updated_at":"2016-11-17T22:48:56Z","html_url":"https://github.com/robvanderleek/JLifx/pull/8#discussion_r88564918","pull_request_url":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/robvanderleek/JLifx/pulls/comments/88564918"},"html":{"href":"https://github.com/robvanderleek/JLifx/pull/8#discussion_r88564918"},"pull_request":{"href":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8","id":94267666,"html_url":"https://github.com/robvanderleek/JLifx/pull/8","diff_url":"https://github.com/robvanderleek/JLifx/pull/8.diff","patch_url":"https://github.com/robvanderleek/JLifx/pull/8.patch","issue_url":"https://api.github.com/repos/robvanderleek/JLifx/issues/8","number":8,"state":"open","locked":false,"title":"Duplication...","user":{"login":"robvanderleek","id":5324924,"avatar_url":"https://avatars.githubusercontent.com/u/5324924?v=3","gravatar_id":"","url":"https://api.github.com/users/robvanderleek","html_url":"https://github.com/robvanderleek","followers_url":"https://api.github.com/users/robvanderleek/followers","following_url":"https://api.github.com/users/robvanderleek/following{/other_user}","gists_url":"https://api.github.com/users/robvanderleek/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanderleek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanderleek/subscriptions","organizations_url":"https://api.github.com/users/robvanderleek/orgs","repos_url":"https://api.github.com/users/robvanderleek/repos","events_url":"https://api.github.com/users/robvanderleek/events{/privacy}","received_events_url":"https://api.github.com/users/robvanderleek/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-17T22:47:55Z","updated_at":"2016-11-17T22:48:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"160eaf08142d50b7d6780b27d12aaba6d77eb536","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8/commits","review_comments_url":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8/comments","review_comment_url":"https://api.github.com/repos/robvanderleek/JLifx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robvanderleek/JLifx/issues/8/comments","statuses_url":"https://api.github.com/repos/robvanderleek/JLifx/statuses/38faeb142642e6643ed441a82c0586dbef6e7537","head":{"label":"robvanderleek:lots-of-duplication","ref":"lots-of-duplication","sha":"38faeb142642e6643ed441a82c0586dbef6e7537","user":{"login":"robvanderleek","id":5324924,"avatar_url":"https://avatars.githubusercontent.com/u/5324924?v=3","gravatar_id":"","url":"https://api.github.com/users/robvanderleek","html_url":"https://github.com/robvanderleek","followers_url":"https://api.github.com/users/robvanderleek/followers","following_url":"https://api.github.com/users/robvanderleek/following{/other_user}","gists_url":"https://api.github.com/users/robvanderleek/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanderleek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanderleek/subscriptions","organizations_url":"https://api.github.com/users/robvanderleek/orgs","repos_url":"https://api.github.com/users/robvanderleek/repos","events_url":"https://api.github.com/users/robvanderleek/events{/privacy}","received_events_url":"https://api.github.com/users/robvanderleek/received_events","type":"User","site_admin":false},"repo":{"id":15356825,"name":"JLifx","full_name":"robvanderleek/JLifx","owner":{"login":"robvanderleek","id":5324924,"avatar_url":"https://avatars.githubusercontent.com/u/5324924?v=3","gravatar_id":"","url":"https://api.github.com/users/robvanderleek","html_url":"https://github.com/robvanderleek","followers_url":"https://api.github.com/users/robvanderleek/followers","following_url":"https://api.github.com/users/robvanderleek/following{/other_user}","gists_url":"https://api.github.com/users/robvanderleek/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanderleek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanderleek/subscriptions","organizations_url":"https://api.github.com/users/robvanderleek/orgs","repos_url":"https://api.github.com/users/robvanderleek/repos","events_url":"https://api.github.com/users/robvanderleek/events{/privacy}","received_events_url":"https://api.github.com/users/robvanderleek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robvanderleek/JLifx","description":"LIFX control utility in Java ","fork":false,"url":"https://api.github.com/repos/robvanderleek/JLifx","forks_url":"https://api.github.com/repos/robvanderleek/JLifx/forks","keys_url":"https://api.github.com/repos/robvanderleek/JLifx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robvanderleek/JLifx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robvanderleek/JLifx/teams","hooks_url":"https://api.github.com/repos/robvanderleek/JLifx/hooks","issue_events_url":"https://api.github.com/repos/robvanderleek/JLifx/issues/events{/number}","events_url":"https://api.github.com/repos/robvanderleek/JLifx/events","assignees_url":"https://api.github.com/repos/robvanderleek/JLifx/assignees{/user}","branches_url":"https://api.github.com/repos/robvanderleek/JLifx/branches{/branch}","tags_url":"https://api.github.com/repos/robvanderleek/JLifx/tags","blobs_url":"https://api.github.com/repos/robvanderleek/JLifx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robvanderleek/JLifx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robvanderleek/JLifx/git/refs{/sha}","trees_url":"https://api.github.com/repos/robvanderleek/JLifx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robvanderleek/JLifx/statuses/{sha}","languages_url":"https://api.github.com/repos/robvanderleek/JLifx/languages","stargazers_url":"https://api.github.com/repos/robvanderleek/JLifx/stargazers","contributors_url":"https://api.github.com/repos/robvanderleek/JLifx/contributors","subscribers_url":"https://api.github.com/repos/robvanderleek/JLifx/subscribers","subscription_url":"https://api.github.com/repos/robvanderleek/JLifx/subscription","commits_url":"https://api.github.com/repos/robvanderleek/JLifx/commits{/sha}","git_commits_url":"https://api.github.com/repos/robvanderleek/JLifx/git/commits{/sha}","comments_url":"https://api.github.com/repos/robvanderleek/JLifx/comments{/number}","issue_comment_url":"https://api.github.com/repos/robvanderleek/JLifx/issues/comments{/number}","contents_url":"https://api.github.com/repos/robvanderleek/JLifx/contents/{+path}","compare_url":"https://api.github.com/repos/robvanderleek/JLifx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robvanderleek/JLifx/merges","archive_url":"https://api.github.com/repos/robvanderleek/JLifx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robvanderleek/JLifx/downloads","issues_url":"https://api.github.com/repos/robvanderleek/JLifx/issues{/number}","pulls_url":"https://api.github.com/repos/robvanderleek/JLifx/pulls{/number}","milestones_url":"https://api.github.com/repos/robvanderleek/JLifx/milestones{/number}","notifications_url":"https://api.github.com/repos/robvanderleek/JLifx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robvanderleek/JLifx/labels{/name}","releases_url":"https://api.github.com/repos/robvanderleek/JLifx/releases{/id}","deployments_url":"https://api.github.com/repos/robvanderleek/JLifx/deployments","created_at":"2013-12-21T09:41:38Z","updated_at":"2016-03-13T21:54:34Z","pushed_at":"2016-11-17T22:47:55Z","git_url":"git://github.com/robvanderleek/JLifx.git","ssh_url":"git@github.com:robvanderleek/JLifx.git","clone_url":"https://github.com/robvanderleek/JLifx.git","svn_url":"https://github.com/robvanderleek/JLifx","homepage":"http://robvanderleek.github.io/JLifx/","size":205,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":4,"default_branch":"master"}},"base":{"label":"robvanderleek:master","ref":"master","sha":"d5df3b0be29c238ee2a267aa7f861512c8df58b2","user":{"login":"robvanderleek","id":5324924,"avatar_url":"https://avatars.githubusercontent.com/u/5324924?v=3","gravatar_id":"","url":"https://api.github.com/users/robvanderleek","html_url":"https://github.com/robvanderleek","followers_url":"https://api.github.com/users/robvanderleek/followers","following_url":"https://api.github.com/users/robvanderleek/following{/other_user}","gists_url":"https://api.github.com/users/robvanderleek/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanderleek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanderleek/subscriptions","organizations_url":"https://api.github.com/users/robvanderleek/orgs","repos_url":"https://api.github.com/users/robvanderleek/repos","events_url":"https://api.github.com/users/robvanderleek/events{/privacy}","received_events_url":"https://api.github.com/users/robvanderleek/received_events","type":"User","site_admin":false},"repo":{"id":15356825,"name":"JLifx","full_name":"robvanderleek/JLifx","owner":{"login":"robvanderleek","id":5324924,"avatar_url":"https://avatars.githubusercontent.com/u/5324924?v=3","gravatar_id":"","url":"https://api.github.com/users/robvanderleek","html_url":"https://github.com/robvanderleek","followers_url":"https://api.github.com/users/robvanderleek/followers","following_url":"https://api.github.com/users/robvanderleek/following{/other_user}","gists_url":"https://api.github.com/users/robvanderleek/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanderleek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanderleek/subscriptions","organizations_url":"https://api.github.com/users/robvanderleek/orgs","repos_url":"https://api.github.com/users/robvanderleek/repos","events_url":"https://api.github.com/users/robvanderleek/events{/privacy}","received_events_url":"https://api.github.com/users/robvanderleek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robvanderleek/JLifx","description":"LIFX control utility in Java ","fork":false,"url":"https://api.github.com/repos/robvanderleek/JLifx","forks_url":"https://api.github.com/repos/robvanderleek/JLifx/forks","keys_url":"https://api.github.com/repos/robvanderleek/JLifx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robvanderleek/JLifx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robvanderleek/JLifx/teams","hooks_url":"https://api.github.com/repos/robvanderleek/JLifx/hooks","issue_events_url":"https://api.github.com/repos/robvanderleek/JLifx/issues/events{/number}","events_url":"https://api.github.com/repos/robvanderleek/JLifx/events","assignees_url":"https://api.github.com/repos/robvanderleek/JLifx/assignees{/user}","branches_url":"https://api.github.com/repos/robvanderleek/JLifx/branches{/branch}","tags_url":"https://api.github.com/repos/robvanderleek/JLifx/tags","blobs_url":"https://api.github.com/repos/robvanderleek/JLifx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robvanderleek/JLifx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robvanderleek/JLifx/git/refs{/sha}","trees_url":"https://api.github.com/repos/robvanderleek/JLifx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robvanderleek/JLifx/statuses/{sha}","languages_url":"https://api.github.com/repos/robvanderleek/JLifx/languages","stargazers_url":"https://api.github.com/repos/robvanderleek/JLifx/stargazers","contributors_url":"https://api.github.com/repos/robvanderleek/JLifx/contributors","subscribers_url":"https://api.github.com/repos/robvanderleek/JLifx/subscribers","subscription_url":"https://api.github.com/repos/robvanderleek/JLifx/subscription","commits_url":"https://api.github.com/repos/robvanderleek/JLifx/commits{/sha}","git_commits_url":"https://api.github.com/repos/robvanderleek/JLifx/git/commits{/sha}","comments_url":"https://api.github.com/repos/robvanderleek/JLifx/comments{/number}","issue_comment_url":"https://api.github.com/repos/robvanderleek/JLifx/issues/comments{/number}","contents_url":"https://api.github.com/repos/robvanderleek/JLifx/contents/{+path}","compare_url":"https://api.github.com/repos/robvanderleek/JLifx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robvanderleek/JLifx/merges","archive_url":"https://api.github.com/repos/robvanderleek/JLifx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robvanderleek/JLifx/downloads","issues_url":"https://api.github.com/repos/robvanderleek/JLifx/issues{/number}","pulls_url":"https://api.github.com/repos/robvanderleek/JLifx/pulls{/number}","milestones_url":"https://api.github.com/repos/robvanderleek/JLifx/milestones{/number}","notifications_url":"https://api.github.com/repos/robvanderleek/JLifx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robvanderleek/JLifx/labels{/name}","releases_url":"https://api.github.com/repos/robvanderleek/JLifx/releases{/id}","deployments_url":"https://api.github.com/repos/robvanderleek/JLifx/deployments","created_at":"2013-12-21T09:41:38Z","updated_at":"2016-03-13T21:54:34Z","pushed_at":"2016-11-17T22:47:55Z","git_url":"git://github.com/robvanderleek/JLifx.git","ssh_url":"git@github.com:robvanderleek/JLifx.git","clone_url":"https://github.com/robvanderleek/JLifx.git","svn_url":"https://github.com/robvanderleek/JLifx","homepage":"http://robvanderleek.github.io/JLifx/","size":205,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8"},"html":{"href":"https://github.com/robvanderleek/JLifx/pull/8"},"issue":{"href":"https://api.github.com/repos/robvanderleek/JLifx/issues/8"},"comments":{"href":"https://api.github.com/repos/robvanderleek/JLifx/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/robvanderleek/JLifx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robvanderleek/JLifx/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/robvanderleek/JLifx/statuses/38faeb142642e6643ed441a82c0586dbef6e7537"}}}}
{"actor":{"display_login":"sputnikci"}}