{"action":"created","comment":{"url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/comments/25360569","id":25360569,"diff_hunk":"@@ -0,0 +1,46 @@\n+/*\n+ * JBoss, Home of Professional Open Source.\n+ * Copyright 2015, Red Hat, Inc., and individual contributors\n+ * as indicated by the @author tags. See the copyright.txt file in the\n+ * distribution for a full listing of individual contributors.\n+ *\n+ * This is free software; you can redistribute it and/or modify it\n+ * under the terms of the GNU Lesser General Public License as\n+ * published by the Free Software Foundation; either version 2.1 of\n+ * the License, or (at your option) any later version.\n+ *\n+ * This software is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n+ * Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public\n+ * License along with this software; if not, write to the Free\n+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n+ */\n+\n+package org.jboss.logging.annotations;\n+\n+import static java.lang.annotation.ElementType.METHOD;\n+import static java.lang.annotation.RetentionPolicy.CLASS;\n+\n+import java.lang.annotation.Documented;\n+import java.lang.annotation.Retention;\n+import java.lang.annotation.Target;\n+\n+/**\n+ * Indicates a message should only be logged once.\n+ * <p>\n+ * Methods that use this annotation must be {@link org.jboss.logging.annotations.LogMessage logger methods}. Overloaded","path":"annotations/src/main/java/org/jboss/logging/annotations/Once.java","position":35,"original_position":35,"commit_id":"54b3a2341c52b069156620332b25bf09492b8710","original_commit_id":"54b3a2341c52b069156620332b25bf09492b8710","user":{"login":"dmlloyd","id":124581,"avatar_url":"https://avatars.githubusercontent.com/u/124581?v=3","gravatar_id":"","url":"https://api.github.com/users/dmlloyd","html_url":"https://github.com/dmlloyd","followers_url":"https://api.github.com/users/dmlloyd/followers","following_url":"https://api.github.com/users/dmlloyd/following{/other_user}","gists_url":"https://api.github.com/users/dmlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlloyd/subscriptions","organizations_url":"https://api.github.com/users/dmlloyd/orgs","repos_url":"https://api.github.com/users/dmlloyd/repos","events_url":"https://api.github.com/users/dmlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/dmlloyd/received_events","type":"User","site_admin":false},"body":"Use ``@linkplain`` here instead.","created_at":"2015-02-25T17:39:40Z","updated_at":"2015-02-25T17:39:40Z","html_url":"https://github.com/jboss-logging/jboss-logging-tools/pull/22#discussion_r25360569","pull_request_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/comments/25360569"},"html":{"href":"https://github.com/jboss-logging/jboss-logging-tools/pull/22#discussion_r25360569"},"pull_request":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22","id":30007957,"html_url":"https://github.com/jboss-logging/jboss-logging-tools/pull/22","diff_url":"https://github.com/jboss-logging/jboss-logging-tools/pull/22.diff","patch_url":"https://github.com/jboss-logging/jboss-logging-tools/pull/22.patch","issue_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/issues/22","number":22,"state":"open","locked":false,"title":"[LOGTOOL-83] Add an @Once annotation to indicate a log message should on...","user":{"login":"jamezp","id":420065,"avatar_url":"https://avatars.githubusercontent.com/u/420065?v=3","gravatar_id":"","url":"https://api.github.com/users/jamezp","html_url":"https://github.com/jamezp","followers_url":"https://api.github.com/users/jamezp/followers","following_url":"https://api.github.com/users/jamezp/following{/other_user}","gists_url":"https://api.github.com/users/jamezp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamezp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamezp/subscriptions","organizations_url":"https://api.github.com/users/jamezp/orgs","repos_url":"https://api.github.com/users/jamezp/repos","events_url":"https://api.github.com/users/jamezp/events{/privacy}","received_events_url":"https://api.github.com/users/jamezp/received_events","type":"User","site_admin":false},"body":"...ly be logged once.","created_at":"2015-02-25T17:36:18Z","updated_at":"2015-02-25T17:39:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf247432ab4da9ec9118c9a5dfa6c19872892202","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22/commits","review_comments_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22/comments","review_comment_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/issues/22/comments","statuses_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/statuses/54b3a2341c52b069156620332b25bf09492b8710","head":{"label":"jamezp:LOGTOOL-83","ref":"LOGTOOL-83","sha":"54b3a2341c52b069156620332b25bf09492b8710","user":{"login":"jamezp","id":420065,"avatar_url":"https://avatars.githubusercontent.com/u/420065?v=3","gravatar_id":"","url":"https://api.github.com/users/jamezp","html_url":"https://github.com/jamezp","followers_url":"https://api.github.com/users/jamezp/followers","following_url":"https://api.github.com/users/jamezp/following{/other_user}","gists_url":"https://api.github.com/users/jamezp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamezp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamezp/subscriptions","organizations_url":"https://api.github.com/users/jamezp/orgs","repos_url":"https://api.github.com/users/jamezp/repos","events_url":"https://api.github.com/users/jamezp/events{/privacy}","received_events_url":"https://api.github.com/users/jamezp/received_events","type":"User","site_admin":false},"repo":{"id":957366,"name":"jboss-logging-tools","full_name":"jamezp/jboss-logging-tools","owner":{"login":"jamezp","id":420065,"avatar_url":"https://avatars.githubusercontent.com/u/420065?v=3","gravatar_id":"","url":"https://api.github.com/users/jamezp","html_url":"https://github.com/jamezp","followers_url":"https://api.github.com/users/jamezp/followers","following_url":"https://api.github.com/users/jamezp/following{/other_user}","gists_url":"https://api.github.com/users/jamezp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamezp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamezp/subscriptions","organizations_url":"https://api.github.com/users/jamezp/orgs","repos_url":"https://api.github.com/users/jamezp/repos","events_url":"https://api.github.com/users/jamezp/events{/privacy}","received_events_url":"https://api.github.com/users/jamezp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamezp/jboss-logging-tools","description":"JBoss Logging Annotation Processor","fork":true,"url":"https://api.github.com/repos/jamezp/jboss-logging-tools","forks_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/forks","keys_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/teams","hooks_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/hooks","issue_events_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/issues/events{/number}","events_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/events","assignees_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/assignees{/user}","branches_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/branches{/branch}","tags_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/tags","blobs_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/languages","stargazers_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/stargazers","contributors_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/contributors","subscribers_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/subscribers","subscription_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/subscription","commits_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/contents/{+path}","compare_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/merges","archive_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/downloads","issues_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/issues{/number}","pulls_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/labels{/name}","releases_url":"https://api.github.com/repos/jamezp/jboss-logging-tools/releases{/id}","created_at":"2010-10-02T22:11:23Z","updated_at":"2015-02-25T17:34:05Z","pushed_at":"2015-02-25T17:35:15Z","git_url":"git://github.com/jamezp/jboss-logging-tools.git","ssh_url":"git@github.com:jamezp/jboss-logging-tools.git","clone_url":"https://github.com/jamezp/jboss-logging-tools.git","svn_url":"https://github.com/jamezp/jboss-logging-tools","homepage":"","size":1778,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":5,"default_branch":"master"}},"base":{"label":"jboss-logging:master","ref":"master","sha":"20d326bd57a5e3b82d2a903a6ab9bc0b952f1e9a","user":{"login":"jboss-logging","id":836193,"avatar_url":"https://avatars.githubusercontent.com/u/836193?v=3","gravatar_id":"","url":"https://api.github.com/users/jboss-logging","html_url":"https://github.com/jboss-logging","followers_url":"https://api.github.com/users/jboss-logging/followers","following_url":"https://api.github.com/users/jboss-logging/following{/other_user}","gists_url":"https://api.github.com/users/jboss-logging/gists{/gist_id}","starred_url":"https://api.github.com/users/jboss-logging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboss-logging/subscriptions","organizations_url":"https://api.github.com/users/jboss-logging/orgs","repos_url":"https://api.github.com/users/jboss-logging/repos","events_url":"https://api.github.com/users/jboss-logging/events{/privacy}","received_events_url":"https://api.github.com/users/jboss-logging/received_events","type":"Organization","site_admin":false},"repo":{"id":1862490,"name":"jboss-logging-tools","full_name":"jboss-logging/jboss-logging-tools","owner":{"login":"jboss-logging","id":836193,"avatar_url":"https://avatars.githubusercontent.com/u/836193?v=3","gravatar_id":"","url":"https://api.github.com/users/jboss-logging","html_url":"https://github.com/jboss-logging","followers_url":"https://api.github.com/users/jboss-logging/followers","following_url":"https://api.github.com/users/jboss-logging/following{/other_user}","gists_url":"https://api.github.com/users/jboss-logging/gists{/gist_id}","starred_url":"https://api.github.com/users/jboss-logging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboss-logging/subscriptions","organizations_url":"https://api.github.com/users/jboss-logging/orgs","repos_url":"https://api.github.com/users/jboss-logging/repos","events_url":"https://api.github.com/users/jboss-logging/events{/privacy}","received_events_url":"https://api.github.com/users/jboss-logging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jboss-logging/jboss-logging-tools","description":"JBoss Logging Annotation Processor","fork":false,"url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools","forks_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/forks","keys_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/teams","hooks_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/hooks","issue_events_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/issues/events{/number}","events_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/events","assignees_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/assignees{/user}","branches_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/branches{/branch}","tags_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/tags","blobs_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/languages","stargazers_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/stargazers","contributors_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/contributors","subscribers_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/subscribers","subscription_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/subscription","commits_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/contents/{+path}","compare_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/merges","archive_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/downloads","issues_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/issues{/number}","pulls_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/labels{/name}","releases_url":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/releases{/id}","created_at":"2011-06-07T22:25:50Z","updated_at":"2015-02-25T17:33:42Z","pushed_at":"2015-02-25T17:33:42Z","git_url":"git://github.com/jboss-logging/jboss-logging-tools.git","ssh_url":"git@github.com:jboss-logging/jboss-logging-tools.git","clone_url":"https://github.com/jboss-logging/jboss-logging-tools.git","svn_url":"https://github.com/jboss-logging/jboss-logging-tools","homepage":"","size":1677,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":3,"forks":13,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22"},"html":{"href":"https://github.com/jboss-logging/jboss-logging-tools/pull/22"},"issue":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/issues/22"},"comments":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/jboss-logging/jboss-logging-tools/statuses/54b3a2341c52b069156620332b25bf09492b8710"}}}}