{"action":"created","issue":{"url":"https://api.github.com/repos/jmdns/jmdns/issues/75","repository_url":"https://api.github.com/repos/jmdns/jmdns","labels_url":"https://api.github.com/repos/jmdns/jmdns/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/jmdns/jmdns/issues/75/comments","events_url":"https://api.github.com/repos/jmdns/jmdns/issues/75/events","html_url":"https://github.com/jmdns/jmdns/issues/75","id":156485754,"number":75,"title":"Example code from the README is outdated and incomplete","user":{"login":"rspielmann","id":2010847,"avatar_url":"https://avatars.githubusercontent.com/u/2010847?v=3","gravatar_id":"","url":"https://api.github.com/users/rspielmann","html_url":"https://github.com/rspielmann","followers_url":"https://api.github.com/users/rspielmann/followers","following_url":"https://api.github.com/users/rspielmann/following{/other_user}","gists_url":"https://api.github.com/users/rspielmann/gists{/gist_id}","starred_url":"https://api.github.com/users/rspielmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspielmann/subscriptions","organizations_url":"https://api.github.com/users/rspielmann/orgs","repos_url":"https://api.github.com/users/rspielmann/repos","events_url":"https://api.github.com/users/rspielmann/events{/privacy}","received_events_url":"https://api.github.com/users/rspielmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-24T11:39:52Z","updated_at":"2016-06-16T07:02:05Z","closed_at":null,"body":"Service Registration example from the README:\r\n```\r\nimport javax.jmdns.*;\r\n\r\nJmDNS jmdns = new JmDNS();\r\njmdns.registerService(\r\n    new ServiceInfo(\"_http._tcp.local.\", \"foo._http._tcp.local.\", 1234, 0, 0, \"path=index.html\")\r\n);\r\n```\r\n\r\n1. JmDNS cannot be instantiated this way because it is abstract (probably wasn't abstract in an earlier version).\r\n2. There should be complete code (including class Example and main) or a comment denoting that something has been left out.\r\n\r\nProblem 2 is rather cosmetic, but a copy-paste-able example would probably be nice.\r\n\r\nThe \"abstract\" problem applies to the Service Discovery example too, as well as the cosmetic problem.\r\n"},"comment":{"url":"https://api.github.com/repos/jmdns/jmdns/issues/comments/226404125","html_url":"https://github.com/jmdns/jmdns/issues/75#issuecomment-226404125","issue_url":"https://api.github.com/repos/jmdns/jmdns/issues/75","id":226404125,"user":{"login":"rspielmann","id":2010847,"avatar_url":"https://avatars.githubusercontent.com/u/2010847?v=3","gravatar_id":"","url":"https://api.github.com/users/rspielmann","html_url":"https://github.com/rspielmann","followers_url":"https://api.github.com/users/rspielmann/followers","following_url":"https://api.github.com/users/rspielmann/following{/other_user}","gists_url":"https://api.github.com/users/rspielmann/gists{/gist_id}","starred_url":"https://api.github.com/users/rspielmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspielmann/subscriptions","organizations_url":"https://api.github.com/users/rspielmann/orgs","repos_url":"https://api.github.com/users/rspielmann/repos","events_url":"https://api.github.com/users/rspielmann/events{/privacy}","received_events_url":"https://api.github.com/users/rspielmann/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T07:02:05Z","updated_at":"2016-06-16T07:02:05Z","body":"@kaikreuzer I just did :)"}}
{"actor":{"display_login":"rspielmann"}}