{"action":"created","comment":{"url":"https://api.github.com/repos/swagger-api/swagger-core/pulls/comments/62873238","id":62873238,"diff_hunk":"@@ -438,12 +427,11 @@ protected Parameter readImplicitParam(ApiImplicitParam param) {\n             return null;\n         }\n         final Type type = ReflectionUtils.typeFromString(param.dataType());\n-        return ParameterProcessor.applyAnnotations(swagger, p, type == null ? String.class : type,\n+        return ParameterProcessor.applyAnnotations(swagger, p, (type == null) ? String.class : type,\n                 Arrays.<Annotation>asList(param));\n     }\n \n-    protected void readSwaggerConfig(Class<?> cls, SwaggerDefinition config) {\n-\n+    protected void readSwaggerConfig(SwaggerDefinition config) {","path":"modules/swagger-jaxrs/src/main/java/io/swagger/jaxrs/Reader.java","position":179,"original_position":179,"commit_id":"90427559d17f965424b89d69c6ffaa5448f41795","original_commit_id":"90427559d17f965424b89d69c6ffaa5448f41795","user":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"body":"Please leave the `cls` parameter here, it is for future usage","created_at":"2016-05-11T15:46:17Z","updated_at":"2016-05-11T15:46:17Z","html_url":"https://github.com/swagger-api/swagger-core/pull/1775#discussion_r62873238","pull_request_url":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775","_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-core/pulls/comments/62873238"},"html":{"href":"https://github.com/swagger-api/swagger-core/pull/1775#discussion_r62873238"},"pull_request":{"href":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775"}}},"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775","id":68249658,"html_url":"https://github.com/swagger-api/swagger-core/pull/1775","diff_url":"https://github.com/swagger-api/swagger-core/pull/1775.diff","patch_url":"https://github.com/swagger-api/swagger-core/pull/1775.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1775","number":1775,"state":"open","locked":false,"title":"code cleanup in the jaxrs module","user":{"login":"AlexElin","id":13061803,"avatar_url":"https://avatars.githubusercontent.com/u/13061803?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexElin","html_url":"https://github.com/AlexElin","followers_url":"https://api.github.com/users/AlexElin/followers","following_url":"https://api.github.com/users/AlexElin/following{/other_user}","gists_url":"https://api.github.com/users/AlexElin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexElin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexElin/subscriptions","organizations_url":"https://api.github.com/users/AlexElin/orgs","repos_url":"https://api.github.com/users/AlexElin/repos","events_url":"https://api.github.com/users/AlexElin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexElin/received_events","type":"User","site_admin":false},"body":"I did some code cleanup in the jaxrs module.","created_at":"2016-04-28T16:22:00Z","updated_at":"2016-05-11T15:46:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e991fc8fda1d814c1b996ce831474161efac937e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775/comments","review_comment_url":"https://api.github.com/repos/swagger-api/swagger-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1775/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-core/statuses/90427559d17f965424b89d69c6ffaa5448f41795","head":{"label":"AlexElin:jaxrs_cleanup","ref":"jaxrs_cleanup","sha":"90427559d17f965424b89d69c6ffaa5448f41795","user":{"login":"AlexElin","id":13061803,"avatar_url":"https://avatars.githubusercontent.com/u/13061803?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexElin","html_url":"https://github.com/AlexElin","followers_url":"https://api.github.com/users/AlexElin/followers","following_url":"https://api.github.com/users/AlexElin/following{/other_user}","gists_url":"https://api.github.com/users/AlexElin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexElin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexElin/subscriptions","organizations_url":"https://api.github.com/users/AlexElin/orgs","repos_url":"https://api.github.com/users/AlexElin/repos","events_url":"https://api.github.com/users/AlexElin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexElin/received_events","type":"User","site_admin":false},"repo":{"id":57233252,"name":"swagger-core","full_name":"AlexElin/swagger-core","owner":{"login":"AlexElin","id":13061803,"avatar_url":"https://avatars.githubusercontent.com/u/13061803?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexElin","html_url":"https://github.com/AlexElin","followers_url":"https://api.github.com/users/AlexElin/followers","following_url":"https://api.github.com/users/AlexElin/following{/other_user}","gists_url":"https://api.github.com/users/AlexElin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexElin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexElin/subscriptions","organizations_url":"https://api.github.com/users/AlexElin/orgs","repos_url":"https://api.github.com/users/AlexElin/repos","events_url":"https://api.github.com/users/AlexElin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexElin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexElin/swagger-core","description":"Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API","fork":true,"url":"https://api.github.com/repos/AlexElin/swagger-core","forks_url":"https://api.github.com/repos/AlexElin/swagger-core/forks","keys_url":"https://api.github.com/repos/AlexElin/swagger-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexElin/swagger-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexElin/swagger-core/teams","hooks_url":"https://api.github.com/repos/AlexElin/swagger-core/hooks","issue_events_url":"https://api.github.com/repos/AlexElin/swagger-core/issues/events{/number}","events_url":"https://api.github.com/repos/AlexElin/swagger-core/events","assignees_url":"https://api.github.com/repos/AlexElin/swagger-core/assignees{/user}","branches_url":"https://api.github.com/repos/AlexElin/swagger-core/branches{/branch}","tags_url":"https://api.github.com/repos/AlexElin/swagger-core/tags","blobs_url":"https://api.github.com/repos/AlexElin/swagger-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexElin/swagger-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexElin/swagger-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexElin/swagger-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexElin/swagger-core/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexElin/swagger-core/languages","stargazers_url":"https://api.github.com/repos/AlexElin/swagger-core/stargazers","contributors_url":"https://api.github.com/repos/AlexElin/swagger-core/contributors","subscribers_url":"https://api.github.com/repos/AlexElin/swagger-core/subscribers","subscription_url":"https://api.github.com/repos/AlexElin/swagger-core/subscription","commits_url":"https://api.github.com/repos/AlexElin/swagger-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexElin/swagger-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexElin/swagger-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexElin/swagger-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexElin/swagger-core/contents/{+path}","compare_url":"https://api.github.com/repos/AlexElin/swagger-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexElin/swagger-core/merges","archive_url":"https://api.github.com/repos/AlexElin/swagger-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexElin/swagger-core/downloads","issues_url":"https://api.github.com/repos/AlexElin/swagger-core/issues{/number}","pulls_url":"https://api.github.com/repos/AlexElin/swagger-core/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexElin/swagger-core/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexElin/swagger-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexElin/swagger-core/labels{/name}","releases_url":"https://api.github.com/repos/AlexElin/swagger-core/releases{/id}","deployments_url":"https://api.github.com/repos/AlexElin/swagger-core/deployments","created_at":"2016-04-27T17:38:10Z","updated_at":"2016-04-27T17:38:12Z","pushed_at":"2016-04-28T16:18:38Z","git_url":"git://github.com/AlexElin/swagger-core.git","ssh_url":"git@github.com:AlexElin/swagger-core.git","clone_url":"https://github.com/AlexElin/swagger-core.git","svn_url":"https://github.com/AlexElin/swagger-core","homepage":"http://swagger.io","size":8581,"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":"swagger-api:master","ref":"master","sha":"e6822878db23ceafb6b620ab2da004bb71ec2b17","user":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars.githubusercontent.com/u/7658037?v=3","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"repo":{"id":2003641,"name":"swagger-core","full_name":"swagger-api/swagger-core","owner":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars.githubusercontent.com/u/7658037?v=3","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swagger-api/swagger-core","description":"Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API","fork":false,"url":"https://api.github.com/repos/swagger-api/swagger-core","forks_url":"https://api.github.com/repos/swagger-api/swagger-core/forks","keys_url":"https://api.github.com/repos/swagger-api/swagger-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swagger-api/swagger-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swagger-api/swagger-core/teams","hooks_url":"https://api.github.com/repos/swagger-api/swagger-core/hooks","issue_events_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/events{/number}","events_url":"https://api.github.com/repos/swagger-api/swagger-core/events","assignees_url":"https://api.github.com/repos/swagger-api/swagger-core/assignees{/user}","branches_url":"https://api.github.com/repos/swagger-api/swagger-core/branches{/branch}","tags_url":"https://api.github.com/repos/swagger-api/swagger-core/tags","blobs_url":"https://api.github.com/repos/swagger-api/swagger-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swagger-api/swagger-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swagger-api/swagger-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/swagger-api/swagger-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swagger-api/swagger-core/statuses/{sha}","languages_url":"https://api.github.com/repos/swagger-api/swagger-core/languages","stargazers_url":"https://api.github.com/repos/swagger-api/swagger-core/stargazers","contributors_url":"https://api.github.com/repos/swagger-api/swagger-core/contributors","subscribers_url":"https://api.github.com/repos/swagger-api/swagger-core/subscribers","subscription_url":"https://api.github.com/repos/swagger-api/swagger-core/subscription","commits_url":"https://api.github.com/repos/swagger-api/swagger-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/swagger-api/swagger-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/swagger-api/swagger-core/contents/{+path}","compare_url":"https://api.github.com/repos/swagger-api/swagger-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swagger-api/swagger-core/merges","archive_url":"https://api.github.com/repos/swagger-api/swagger-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swagger-api/swagger-core/downloads","issues_url":"https://api.github.com/repos/swagger-api/swagger-core/issues{/number}","pulls_url":"https://api.github.com/repos/swagger-api/swagger-core/pulls{/number}","milestones_url":"https://api.github.com/repos/swagger-api/swagger-core/milestones{/number}","notifications_url":"https://api.github.com/repos/swagger-api/swagger-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/labels{/name}","releases_url":"https://api.github.com/repos/swagger-api/swagger-core/releases{/id}","deployments_url":"https://api.github.com/repos/swagger-api/swagger-core/deployments","created_at":"2011-07-05T23:44:11Z","updated_at":"2016-05-11T13:59:58Z","pushed_at":"2016-05-08T15:20:45Z","git_url":"git://github.com/swagger-api/swagger-core.git","ssh_url":"git@github.com:swagger-api/swagger-core.git","clone_url":"https://github.com/swagger-api/swagger-core.git","svn_url":"https://github.com/swagger-api/swagger-core","homepage":"http://swagger.io","size":14515,"stargazers_count":3345,"watchers_count":3345,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1144,"mirror_url":null,"open_issues_count":143,"forks":1144,"open_issues":143,"watchers":3345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775"},"html":{"href":"https://github.com/swagger-api/swagger-core/pull/1775"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-core/issues/1775"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-core/issues/1775/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775/comments"},"review_comment":{"href":"https://api.github.com/repos/swagger-api/swagger-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swagger-api/swagger-core/pulls/1775/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-core/statuses/90427559d17f965424b89d69c6ffaa5448f41795"}}}}