{"action":"created","comment":{"url":"https://api.github.com/repos/javers/javers/pulls/comments/49370924","id":49370924,"diff_hunk":"@@ -21,10 +18,11 @@ public ClassAnnotationsScanner(AnnotationNamesProvider annotationNamesProvider)\n         this.annotationNamesProvider = annotationNamesProvider;\n     }\n \n-    public ClientsClassDefinition scanAndInfer(Class javaClass){\n+    public ClientsClassDefinition scanAndInfer(Class javaClass) {\n         Validate.argumentIsNotNull(javaClass);\n \n-        for (Annotation ann : javaClass.getAnnotations()){\n+        Annotation[] annotations = javaClass.getAnnotations();","path":"javers-core/src/main/java/org/javers/core/metamodel/annotation/ClassAnnotationsScanner.java","position":21,"original_position":21,"commit_id":"b4f2d82c1dc6844d55bfeac587333dd069525313","original_commit_id":"b4f2d82c1dc6844d55bfeac587333dd069525313","user":{"login":"bartoszwalacik","id":2511028,"avatar_url":"https://avatars.githubusercontent.com/u/2511028?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszwalacik","html_url":"https://github.com/bartoszwalacik","followers_url":"https://api.github.com/users/bartoszwalacik/followers","following_url":"https://api.github.com/users/bartoszwalacik/following{/other_user}","gists_url":"https://api.github.com/users/bartoszwalacik/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszwalacik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszwalacik/subscriptions","organizations_url":"https://api.github.com/users/bartoszwalacik/orgs","repos_url":"https://api.github.com/users/bartoszwalacik/repos","events_url":"https://api.github.com/users/bartoszwalacik/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszwalacik/received_events","type":"User","site_admin":false},"body":"+1","created_at":"2016-01-11T20:05:18Z","updated_at":"2016-01-11T20:05:18Z","html_url":"https://github.com/javers/javers/pull/297#discussion_r49370924","pull_request_url":"https://api.github.com/repos/javers/javers/pulls/297","_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/comments/49370924"},"html":{"href":"https://github.com/javers/javers/pull/297#discussion_r49370924"},"pull_request":{"href":"https://api.github.com/repos/javers/javers/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/javers/javers/pulls/297","id":55572850,"html_url":"https://github.com/javers/javers/pull/297","diff_url":"https://github.com/javers/javers/pull/297.diff","patch_url":"https://github.com/javers/javers/pull/297.patch","issue_url":"https://api.github.com/repos/javers/javers/issues/297","number":297,"state":"open","locked":false,"title":"Issue211","user":{"login":"akrystian","id":6537430,"avatar_url":"https://avatars.githubusercontent.com/u/6537430?v=3","gravatar_id":"","url":"https://api.github.com/users/akrystian","html_url":"https://github.com/akrystian","followers_url":"https://api.github.com/users/akrystian/followers","following_url":"https://api.github.com/users/akrystian/following{/other_user}","gists_url":"https://api.github.com/users/akrystian/gists{/gist_id}","starred_url":"https://api.github.com/users/akrystian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrystian/subscriptions","organizations_url":"https://api.github.com/users/akrystian/orgs","repos_url":"https://api.github.com/users/akrystian/repos","events_url":"https://api.github.com/users/akrystian/events{/privacy}","received_events_url":"https://api.github.com/users/akrystian/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-10T20:01:29Z","updated_at":"2016-01-11T20:05:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/javers/javers/pulls/297/commits","review_comments_url":"https://api.github.com/repos/javers/javers/pulls/297/comments","review_comment_url":"https://api.github.com/repos/javers/javers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/javers/javers/issues/297/comments","statuses_url":"https://api.github.com/repos/javers/javers/statuses/b4f2d82c1dc6844d55bfeac587333dd069525313","head":{"label":"javers:issue211","ref":"issue211","sha":"b4f2d82c1dc6844d55bfeac587333dd069525313","user":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"repo":{"id":15071115,"name":"javers","full_name":"javers/javers","owner":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javers/javers","description":"JaVers is a tool for auditing object-oriented data","fork":false,"url":"https://api.github.com/repos/javers/javers","forks_url":"https://api.github.com/repos/javers/javers/forks","keys_url":"https://api.github.com/repos/javers/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javers/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javers/javers/teams","hooks_url":"https://api.github.com/repos/javers/javers/hooks","issue_events_url":"https://api.github.com/repos/javers/javers/issues/events{/number}","events_url":"https://api.github.com/repos/javers/javers/events","assignees_url":"https://api.github.com/repos/javers/javers/assignees{/user}","branches_url":"https://api.github.com/repos/javers/javers/branches{/branch}","tags_url":"https://api.github.com/repos/javers/javers/tags","blobs_url":"https://api.github.com/repos/javers/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javers/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javers/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/javers/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javers/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/javers/javers/languages","stargazers_url":"https://api.github.com/repos/javers/javers/stargazers","contributors_url":"https://api.github.com/repos/javers/javers/contributors","subscribers_url":"https://api.github.com/repos/javers/javers/subscribers","subscription_url":"https://api.github.com/repos/javers/javers/subscription","commits_url":"https://api.github.com/repos/javers/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/javers/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/javers/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/javers/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/javers/javers/contents/{+path}","compare_url":"https://api.github.com/repos/javers/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javers/javers/merges","archive_url":"https://api.github.com/repos/javers/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javers/javers/downloads","issues_url":"https://api.github.com/repos/javers/javers/issues{/number}","pulls_url":"https://api.github.com/repos/javers/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/javers/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/javers/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javers/javers/labels{/name}","releases_url":"https://api.github.com/repos/javers/javers/releases{/id}","created_at":"2013-12-10T08:23:03Z","updated_at":"2016-01-08T15:05:20Z","pushed_at":"2016-01-11T15:22:06Z","git_url":"git://github.com/javers/javers.git","ssh_url":"git@github.com:javers/javers.git","clone_url":"https://github.com/javers/javers.git","svn_url":"https://github.com/javers/javers","homepage":"","size":4005,"stargazers_count":125,"watchers_count":125,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":28,"forks":39,"open_issues":28,"watchers":125,"default_branch":"master"}},"base":{"label":"javers:master","ref":"master","sha":"1e0a8e49e50e45774df33afd23c01db50a970cdd","user":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"repo":{"id":15071115,"name":"javers","full_name":"javers/javers","owner":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javers/javers","description":"JaVers is a tool for auditing object-oriented data","fork":false,"url":"https://api.github.com/repos/javers/javers","forks_url":"https://api.github.com/repos/javers/javers/forks","keys_url":"https://api.github.com/repos/javers/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javers/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javers/javers/teams","hooks_url":"https://api.github.com/repos/javers/javers/hooks","issue_events_url":"https://api.github.com/repos/javers/javers/issues/events{/number}","events_url":"https://api.github.com/repos/javers/javers/events","assignees_url":"https://api.github.com/repos/javers/javers/assignees{/user}","branches_url":"https://api.github.com/repos/javers/javers/branches{/branch}","tags_url":"https://api.github.com/repos/javers/javers/tags","blobs_url":"https://api.github.com/repos/javers/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javers/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javers/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/javers/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javers/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/javers/javers/languages","stargazers_url":"https://api.github.com/repos/javers/javers/stargazers","contributors_url":"https://api.github.com/repos/javers/javers/contributors","subscribers_url":"https://api.github.com/repos/javers/javers/subscribers","subscription_url":"https://api.github.com/repos/javers/javers/subscription","commits_url":"https://api.github.com/repos/javers/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/javers/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/javers/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/javers/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/javers/javers/contents/{+path}","compare_url":"https://api.github.com/repos/javers/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javers/javers/merges","archive_url":"https://api.github.com/repos/javers/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javers/javers/downloads","issues_url":"https://api.github.com/repos/javers/javers/issues{/number}","pulls_url":"https://api.github.com/repos/javers/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/javers/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/javers/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javers/javers/labels{/name}","releases_url":"https://api.github.com/repos/javers/javers/releases{/id}","created_at":"2013-12-10T08:23:03Z","updated_at":"2016-01-08T15:05:20Z","pushed_at":"2016-01-11T15:22:06Z","git_url":"git://github.com/javers/javers.git","ssh_url":"git@github.com:javers/javers.git","clone_url":"https://github.com/javers/javers.git","svn_url":"https://github.com/javers/javers","homepage":"","size":4005,"stargazers_count":125,"watchers_count":125,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":28,"forks":39,"open_issues":28,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/297"},"html":{"href":"https://github.com/javers/javers/pull/297"},"issue":{"href":"https://api.github.com/repos/javers/javers/issues/297"},"comments":{"href":"https://api.github.com/repos/javers/javers/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/javers/javers/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/javers/javers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/javers/javers/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/javers/javers/statuses/b4f2d82c1dc6844d55bfeac587333dd069525313"}}}}