{"action":"opened","number":1582,"pull_request":{"url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1582","id":41932350,"html_url":"https://github.com/checkstyle/checkstyle/pull/1582","diff_url":"https://github.com/checkstyle/checkstyle/pull/1582.diff","patch_url":"https://github.com/checkstyle/checkstyle/pull/1582.patch","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1582","number":1582,"state":"open","locked":false,"title":"Replace String literals of length one with char literals. #1555","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"body":"Fixes `LengthOneStringsInConcatenation` inspection violations.\r\n\r\nDescription:\r\n>Reports String literals of length one being used in concatenation. These literals may be replaced by equivalent character literals, gaining some performance enhancement.","created_at":"2015-08-07T20:54:18Z","updated_at":"2015-08-07T20:54:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1582/commits","review_comments_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1582/comments","review_comment_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1582/comments","statuses_url":"https://api.github.com/repos/checkstyle/checkstyle/statuses/b9f000d81a0c0de2969cba8c61d2203576f1a86e","head":{"label":"mkordas:string-literals-char","ref":"string-literals-char","sha":"b9f000d81a0c0de2969cba8c61d2203576f1a86e","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"repo":{"id":27995806,"name":"checkstyle","full_name":"mkordas/checkstyle","owner":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkordas/checkstyle","description":"Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.","fork":true,"url":"https://api.github.com/repos/mkordas/checkstyle","forks_url":"https://api.github.com/repos/mkordas/checkstyle/forks","keys_url":"https://api.github.com/repos/mkordas/checkstyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkordas/checkstyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkordas/checkstyle/teams","hooks_url":"https://api.github.com/repos/mkordas/checkstyle/hooks","issue_events_url":"https://api.github.com/repos/mkordas/checkstyle/issues/events{/number}","events_url":"https://api.github.com/repos/mkordas/checkstyle/events","assignees_url":"https://api.github.com/repos/mkordas/checkstyle/assignees{/user}","branches_url":"https://api.github.com/repos/mkordas/checkstyle/branches{/branch}","tags_url":"https://api.github.com/repos/mkordas/checkstyle/tags","blobs_url":"https://api.github.com/repos/mkordas/checkstyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkordas/checkstyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkordas/checkstyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkordas/checkstyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkordas/checkstyle/statuses/{sha}","languages_url":"https://api.github.com/repos/mkordas/checkstyle/languages","stargazers_url":"https://api.github.com/repos/mkordas/checkstyle/stargazers","contributors_url":"https://api.github.com/repos/mkordas/checkstyle/contributors","subscribers_url":"https://api.github.com/repos/mkordas/checkstyle/subscribers","subscription_url":"https://api.github.com/repos/mkordas/checkstyle/subscription","commits_url":"https://api.github.com/repos/mkordas/checkstyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkordas/checkstyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkordas/checkstyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkordas/checkstyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkordas/checkstyle/contents/{+path}","compare_url":"https://api.github.com/repos/mkordas/checkstyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkordas/checkstyle/merges","archive_url":"https://api.github.com/repos/mkordas/checkstyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkordas/checkstyle/downloads","issues_url":"https://api.github.com/repos/mkordas/checkstyle/issues{/number}","pulls_url":"https://api.github.com/repos/mkordas/checkstyle/pulls{/number}","milestones_url":"https://api.github.com/repos/mkordas/checkstyle/milestones{/number}","notifications_url":"https://api.github.com/repos/mkordas/checkstyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkordas/checkstyle/labels{/name}","releases_url":"https://api.github.com/repos/mkordas/checkstyle/releases{/id}","created_at":"2014-12-14T13:53:47Z","updated_at":"2015-03-15T02:05:43Z","pushed_at":"2015-08-07T20:54:00Z","git_url":"git://github.com/mkordas/checkstyle.git","ssh_url":"git@github.com:mkordas/checkstyle.git","clone_url":"https://github.com/mkordas/checkstyle.git","svn_url":"https://github.com/mkordas/checkstyle","homepage":"http://checkstyle.sourceforge.net/","size":44640,"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":"checkstyle:master","ref":"master","sha":"3c5d80db4c2be852fd82b66c266dff004ee00cc2","user":{"login":"checkstyle","id":5179750,"avatar_url":"https://avatars.githubusercontent.com/u/5179750?v=3","gravatar_id":"","url":"https://api.github.com/users/checkstyle","html_url":"https://github.com/checkstyle","followers_url":"https://api.github.com/users/checkstyle/followers","following_url":"https://api.github.com/users/checkstyle/following{/other_user}","gists_url":"https://api.github.com/users/checkstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/checkstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkstyle/subscriptions","organizations_url":"https://api.github.com/users/checkstyle/orgs","repos_url":"https://api.github.com/users/checkstyle/repos","events_url":"https://api.github.com/users/checkstyle/events{/privacy}","received_events_url":"https://api.github.com/users/checkstyle/received_events","type":"Organization","site_admin":false},"repo":{"id":12499251,"name":"checkstyle","full_name":"checkstyle/checkstyle","owner":{"login":"checkstyle","id":5179750,"avatar_url":"https://avatars.githubusercontent.com/u/5179750?v=3","gravatar_id":"","url":"https://api.github.com/users/checkstyle","html_url":"https://github.com/checkstyle","followers_url":"https://api.github.com/users/checkstyle/followers","following_url":"https://api.github.com/users/checkstyle/following{/other_user}","gists_url":"https://api.github.com/users/checkstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/checkstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checkstyle/subscriptions","organizations_url":"https://api.github.com/users/checkstyle/orgs","repos_url":"https://api.github.com/users/checkstyle/repos","events_url":"https://api.github.com/users/checkstyle/events{/privacy}","received_events_url":"https://api.github.com/users/checkstyle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/checkstyle/checkstyle","description":"Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.","fork":false,"url":"https://api.github.com/repos/checkstyle/checkstyle","forks_url":"https://api.github.com/repos/checkstyle/checkstyle/forks","keys_url":"https://api.github.com/repos/checkstyle/checkstyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/checkstyle/checkstyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/checkstyle/checkstyle/teams","hooks_url":"https://api.github.com/repos/checkstyle/checkstyle/hooks","issue_events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/events{/number}","events_url":"https://api.github.com/repos/checkstyle/checkstyle/events","assignees_url":"https://api.github.com/repos/checkstyle/checkstyle/assignees{/user}","branches_url":"https://api.github.com/repos/checkstyle/checkstyle/branches{/branch}","tags_url":"https://api.github.com/repos/checkstyle/checkstyle/tags","blobs_url":"https://api.github.com/repos/checkstyle/checkstyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/checkstyle/checkstyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/checkstyle/checkstyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/checkstyle/checkstyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/checkstyle/checkstyle/statuses/{sha}","languages_url":"https://api.github.com/repos/checkstyle/checkstyle/languages","stargazers_url":"https://api.github.com/repos/checkstyle/checkstyle/stargazers","contributors_url":"https://api.github.com/repos/checkstyle/checkstyle/contributors","subscribers_url":"https://api.github.com/repos/checkstyle/checkstyle/subscribers","subscription_url":"https://api.github.com/repos/checkstyle/checkstyle/subscription","commits_url":"https://api.github.com/repos/checkstyle/checkstyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/checkstyle/checkstyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/checkstyle/checkstyle/contents/{+path}","compare_url":"https://api.github.com/repos/checkstyle/checkstyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/checkstyle/checkstyle/merges","archive_url":"https://api.github.com/repos/checkstyle/checkstyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/checkstyle/checkstyle/downloads","issues_url":"https://api.github.com/repos/checkstyle/checkstyle/issues{/number}","pulls_url":"https://api.github.com/repos/checkstyle/checkstyle/pulls{/number}","milestones_url":"https://api.github.com/repos/checkstyle/checkstyle/milestones{/number}","notifications_url":"https://api.github.com/repos/checkstyle/checkstyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/labels{/name}","releases_url":"https://api.github.com/repos/checkstyle/checkstyle/releases{/id}","created_at":"2013-08-31T02:05:05Z","updated_at":"2015-08-07T18:12:03Z","pushed_at":"2015-08-07T20:32:26Z","git_url":"git://github.com/checkstyle/checkstyle.git","ssh_url":"git@github.com:checkstyle/checkstyle.git","clone_url":"https://github.com/checkstyle/checkstyle.git","svn_url":"https://github.com/checkstyle/checkstyle","homepage":"http://checkstyle.sourceforge.net/","size":57295,"stargazers_count":438,"watchers_count":438,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":248,"mirror_url":null,"open_issues_count":204,"forks":248,"open_issues":204,"watchers":438,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1582"},"html":{"href":"https://github.com/checkstyle/checkstyle/pull/1582"},"issue":{"href":"https://api.github.com/repos/checkstyle/checkstyle/issues/1582"},"comments":{"href":"https://api.github.com/repos/checkstyle/checkstyle/issues/1582/comments"},"review_comments":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1582/comments"},"review_comment":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/checkstyle/checkstyle/pulls/1582/commits"},"statuses":{"href":"https://api.github.com/repos/checkstyle/checkstyle/statuses/b9f000d81a0c0de2969cba8c61d2203576f1a86e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":55,"deletions":55,"changed_files":34}}