{"action":"created","comment":{"url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments/55147932","id":55147932,"diff_hunk":"@@ -507,5 +507,18 @@ public static int countEmptyStrings(String... strings) {\n      */\n     public static String convertToEmptyStringIfNull(String str) {\n         return (str == null) ? \"\" : str;\n-    }  \n-}\n\\ No newline at end of file\n+    } \n+    \n+    /**\n+     * Returns a String array after removing white spaces preceding or\n+     * succeeding any string in that array","path":"src/main/java/teammates/common/util/StringHelper.java","position":11,"original_position":11,"commit_id":"cc1dcebb03abf396e8e29ab2655bea48c5b7b2b8","original_commit_id":"cc1dcebb03abf396e8e29ab2655bea48c5b7b2b8","user":{"login":"bamboo3250","id":8078323,"avatar_url":"https://avatars.githubusercontent.com/u/8078323?v=3","gravatar_id":"","url":"https://api.github.com/users/bamboo3250","html_url":"https://github.com/bamboo3250","followers_url":"https://api.github.com/users/bamboo3250/followers","following_url":"https://api.github.com/users/bamboo3250/following{/other_user}","gists_url":"https://api.github.com/users/bamboo3250/gists{/gist_id}","starred_url":"https://api.github.com/users/bamboo3250/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamboo3250/subscriptions","organizations_url":"https://api.github.com/users/bamboo3250/orgs","repos_url":"https://api.github.com/users/bamboo3250/repos","events_url":"https://api.github.com/users/bamboo3250/events{/privacy}","received_events_url":"https://api.github.com/users/bamboo3250/received_events","type":"User","site_admin":false},"body":"`that array` seems wrong to me. Maybe we can mention the parameter `stringsToTrim` or just `input array`.","created_at":"2016-03-06T20:52:43Z","updated_at":"2016-03-06T20:52:43Z","html_url":"https://github.com/TEAMMATES/teammates/pull/4892#discussion_r55147932","pull_request_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892","_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments/55147932"},"html":{"href":"https://github.com/TEAMMATES/teammates/pull/4892#discussion_r55147932"},"pull_request":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892"}}},"pull_request":{"url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892","id":61741903,"html_url":"https://github.com/TEAMMATES/teammates/pull/4892","diff_url":"https://github.com/TEAMMATES/teammates/pull/4892.diff","patch_url":"https://github.com/TEAMMATES/teammates/pull/4892.patch","issue_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/4892","number":4892,"state":"open","locked":false,"title":"admin activity log search: trailing spaces are not trimmed #4512","user":{"login":"RatulGhosh","id":8985903,"avatar_url":"https://avatars.githubusercontent.com/u/8985903?v=3","gravatar_id":"","url":"https://api.github.com/users/RatulGhosh","html_url":"https://github.com/RatulGhosh","followers_url":"https://api.github.com/users/RatulGhosh/followers","following_url":"https://api.github.com/users/RatulGhosh/following{/other_user}","gists_url":"https://api.github.com/users/RatulGhosh/gists{/gist_id}","starred_url":"https://api.github.com/users/RatulGhosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RatulGhosh/subscriptions","organizations_url":"https://api.github.com/users/RatulGhosh/orgs","repos_url":"https://api.github.com/users/RatulGhosh/repos","events_url":"https://api.github.com/users/RatulGhosh/events{/privacy}","received_events_url":"https://api.github.com/users/RatulGhosh/received_events","type":"User","site_admin":false},"body":"Fixes #4512 ","created_at":"2016-03-04T17:13:06Z","updated_at":"2016-03-06T20:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"852939500827746c5646fd00620c68d164780648","assignee":{"login":"bamboo3250","id":8078323,"avatar_url":"https://avatars.githubusercontent.com/u/8078323?v=3","gravatar_id":"","url":"https://api.github.com/users/bamboo3250","html_url":"https://github.com/bamboo3250","followers_url":"https://api.github.com/users/bamboo3250/followers","following_url":"https://api.github.com/users/bamboo3250/following{/other_user}","gists_url":"https://api.github.com/users/bamboo3250/gists{/gist_id}","starred_url":"https://api.github.com/users/bamboo3250/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamboo3250/subscriptions","organizations_url":"https://api.github.com/users/bamboo3250/orgs","repos_url":"https://api.github.com/users/bamboo3250/repos","events_url":"https://api.github.com/users/bamboo3250/events{/privacy}","received_events_url":"https://api.github.com/users/bamboo3250/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TEAMMATES/teammates/milestones/199","html_url":"https://github.com/TEAMMATES/teammates/milestones/V5.72","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/milestones/199/labels","id":1615949,"number":199,"title":"V5.72","description":"","creator":{"login":"thyageshm","id":5160137,"avatar_url":"https://avatars.githubusercontent.com/u/5160137?v=3","gravatar_id":"","url":"https://api.github.com/users/thyageshm","html_url":"https://github.com/thyageshm","followers_url":"https://api.github.com/users/thyageshm/followers","following_url":"https://api.github.com/users/thyageshm/following{/other_user}","gists_url":"https://api.github.com/users/thyageshm/gists{/gist_id}","starred_url":"https://api.github.com/users/thyageshm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thyageshm/subscriptions","organizations_url":"https://api.github.com/users/thyageshm/orgs","repos_url":"https://api.github.com/users/thyageshm/repos","events_url":"https://api.github.com/users/thyageshm/events{/privacy}","received_events_url":"https://api.github.com/users/thyageshm/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":0,"state":"open","created_at":"2016-03-01T17:09:54Z","updated_at":"2016-03-06T14:51:55Z","due_on":"2016-03-14T16:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892/commits","review_comments_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892/comments","review_comment_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/4892/comments","statuses_url":"https://api.github.com/repos/TEAMMATES/teammates/statuses/cc1dcebb03abf396e8e29ab2655bea48c5b7b2b8","head":{"label":"RatulGhosh:4512-admin-activity-log-search-trailing-spaces-are-not-trimmed","ref":"4512-admin-activity-log-search-trailing-spaces-are-not-trimmed","sha":"cc1dcebb03abf396e8e29ab2655bea48c5b7b2b8","user":{"login":"RatulGhosh","id":8985903,"avatar_url":"https://avatars.githubusercontent.com/u/8985903?v=3","gravatar_id":"","url":"https://api.github.com/users/RatulGhosh","html_url":"https://github.com/RatulGhosh","followers_url":"https://api.github.com/users/RatulGhosh/followers","following_url":"https://api.github.com/users/RatulGhosh/following{/other_user}","gists_url":"https://api.github.com/users/RatulGhosh/gists{/gist_id}","starred_url":"https://api.github.com/users/RatulGhosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RatulGhosh/subscriptions","organizations_url":"https://api.github.com/users/RatulGhosh/orgs","repos_url":"https://api.github.com/users/RatulGhosh/repos","events_url":"https://api.github.com/users/RatulGhosh/events{/privacy}","received_events_url":"https://api.github.com/users/RatulGhosh/received_events","type":"User","site_admin":false},"repo":{"id":52969904,"name":"teammates","full_name":"RatulGhosh/teammates","owner":{"login":"RatulGhosh","id":8985903,"avatar_url":"https://avatars.githubusercontent.com/u/8985903?v=3","gravatar_id":"","url":"https://api.github.com/users/RatulGhosh","html_url":"https://github.com/RatulGhosh","followers_url":"https://api.github.com/users/RatulGhosh/followers","following_url":"https://api.github.com/users/RatulGhosh/following{/other_user}","gists_url":"https://api.github.com/users/RatulGhosh/gists{/gist_id}","starred_url":"https://api.github.com/users/RatulGhosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RatulGhosh/subscriptions","organizations_url":"https://api.github.com/users/RatulGhosh/orgs","repos_url":"https://api.github.com/users/RatulGhosh/repos","events_url":"https://api.github.com/users/RatulGhosh/events{/privacy}","received_events_url":"https://api.github.com/users/RatulGhosh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RatulGhosh/teammates","description":"This is the project website for the TEAMMATES feedback management tool for education","fork":true,"url":"https://api.github.com/repos/RatulGhosh/teammates","forks_url":"https://api.github.com/repos/RatulGhosh/teammates/forks","keys_url":"https://api.github.com/repos/RatulGhosh/teammates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RatulGhosh/teammates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RatulGhosh/teammates/teams","hooks_url":"https://api.github.com/repos/RatulGhosh/teammates/hooks","issue_events_url":"https://api.github.com/repos/RatulGhosh/teammates/issues/events{/number}","events_url":"https://api.github.com/repos/RatulGhosh/teammates/events","assignees_url":"https://api.github.com/repos/RatulGhosh/teammates/assignees{/user}","branches_url":"https://api.github.com/repos/RatulGhosh/teammates/branches{/branch}","tags_url":"https://api.github.com/repos/RatulGhosh/teammates/tags","blobs_url":"https://api.github.com/repos/RatulGhosh/teammates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RatulGhosh/teammates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RatulGhosh/teammates/git/refs{/sha}","trees_url":"https://api.github.com/repos/RatulGhosh/teammates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RatulGhosh/teammates/statuses/{sha}","languages_url":"https://api.github.com/repos/RatulGhosh/teammates/languages","stargazers_url":"https://api.github.com/repos/RatulGhosh/teammates/stargazers","contributors_url":"https://api.github.com/repos/RatulGhosh/teammates/contributors","subscribers_url":"https://api.github.com/repos/RatulGhosh/teammates/subscribers","subscription_url":"https://api.github.com/repos/RatulGhosh/teammates/subscription","commits_url":"https://api.github.com/repos/RatulGhosh/teammates/commits{/sha}","git_commits_url":"https://api.github.com/repos/RatulGhosh/teammates/git/commits{/sha}","comments_url":"https://api.github.com/repos/RatulGhosh/teammates/comments{/number}","issue_comment_url":"https://api.github.com/repos/RatulGhosh/teammates/issues/comments{/number}","contents_url":"https://api.github.com/repos/RatulGhosh/teammates/contents/{+path}","compare_url":"https://api.github.com/repos/RatulGhosh/teammates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RatulGhosh/teammates/merges","archive_url":"https://api.github.com/repos/RatulGhosh/teammates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RatulGhosh/teammates/downloads","issues_url":"https://api.github.com/repos/RatulGhosh/teammates/issues{/number}","pulls_url":"https://api.github.com/repos/RatulGhosh/teammates/pulls{/number}","milestones_url":"https://api.github.com/repos/RatulGhosh/teammates/milestones{/number}","notifications_url":"https://api.github.com/repos/RatulGhosh/teammates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RatulGhosh/teammates/labels{/name}","releases_url":"https://api.github.com/repos/RatulGhosh/teammates/releases{/id}","deployments_url":"https://api.github.com/repos/RatulGhosh/teammates/deployments","created_at":"2016-03-02T14:37:29Z","updated_at":"2016-03-02T14:37:36Z","pushed_at":"2016-03-06T20:42:45Z","git_url":"git://github.com/RatulGhosh/teammates.git","ssh_url":"git@github.com:RatulGhosh/teammates.git","clone_url":"https://github.com/RatulGhosh/teammates.git","svn_url":"https://github.com/RatulGhosh/teammates","homepage":"http://teammatesv4.appspot.com/","size":141194,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"TEAMMATES:master","ref":"master","sha":"bd59ea12cf14bbc191528e4ae73d1e7d3b21b5af","user":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"repo":{"id":19369035,"name":"teammates","full_name":"TEAMMATES/teammates","owner":{"login":"TEAMMATES","id":7374810,"avatar_url":"https://avatars.githubusercontent.com/u/7374810?v=3","gravatar_id":"","url":"https://api.github.com/users/TEAMMATES","html_url":"https://github.com/TEAMMATES","followers_url":"https://api.github.com/users/TEAMMATES/followers","following_url":"https://api.github.com/users/TEAMMATES/following{/other_user}","gists_url":"https://api.github.com/users/TEAMMATES/gists{/gist_id}","starred_url":"https://api.github.com/users/TEAMMATES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEAMMATES/subscriptions","organizations_url":"https://api.github.com/users/TEAMMATES/orgs","repos_url":"https://api.github.com/users/TEAMMATES/repos","events_url":"https://api.github.com/users/TEAMMATES/events{/privacy}","received_events_url":"https://api.github.com/users/TEAMMATES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TEAMMATES/teammates","description":"This is the project website for the TEAMMATES feedback management tool for education","fork":false,"url":"https://api.github.com/repos/TEAMMATES/teammates","forks_url":"https://api.github.com/repos/TEAMMATES/teammates/forks","keys_url":"https://api.github.com/repos/TEAMMATES/teammates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TEAMMATES/teammates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TEAMMATES/teammates/teams","hooks_url":"https://api.github.com/repos/TEAMMATES/teammates/hooks","issue_events_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/events{/number}","events_url":"https://api.github.com/repos/TEAMMATES/teammates/events","assignees_url":"https://api.github.com/repos/TEAMMATES/teammates/assignees{/user}","branches_url":"https://api.github.com/repos/TEAMMATES/teammates/branches{/branch}","tags_url":"https://api.github.com/repos/TEAMMATES/teammates/tags","blobs_url":"https://api.github.com/repos/TEAMMATES/teammates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TEAMMATES/teammates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TEAMMATES/teammates/git/refs{/sha}","trees_url":"https://api.github.com/repos/TEAMMATES/teammates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TEAMMATES/teammates/statuses/{sha}","languages_url":"https://api.github.com/repos/TEAMMATES/teammates/languages","stargazers_url":"https://api.github.com/repos/TEAMMATES/teammates/stargazers","contributors_url":"https://api.github.com/repos/TEAMMATES/teammates/contributors","subscribers_url":"https://api.github.com/repos/TEAMMATES/teammates/subscribers","subscription_url":"https://api.github.com/repos/TEAMMATES/teammates/subscription","commits_url":"https://api.github.com/repos/TEAMMATES/teammates/commits{/sha}","git_commits_url":"https://api.github.com/repos/TEAMMATES/teammates/git/commits{/sha}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/comments{/number}","issue_comment_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/comments{/number}","contents_url":"https://api.github.com/repos/TEAMMATES/teammates/contents/{+path}","compare_url":"https://api.github.com/repos/TEAMMATES/teammates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TEAMMATES/teammates/merges","archive_url":"https://api.github.com/repos/TEAMMATES/teammates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TEAMMATES/teammates/downloads","issues_url":"https://api.github.com/repos/TEAMMATES/teammates/issues{/number}","pulls_url":"https://api.github.com/repos/TEAMMATES/teammates/pulls{/number}","milestones_url":"https://api.github.com/repos/TEAMMATES/teammates/milestones{/number}","notifications_url":"https://api.github.com/repos/TEAMMATES/teammates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/labels{/name}","releases_url":"https://api.github.com/repos/TEAMMATES/teammates/releases{/id}","deployments_url":"https://api.github.com/repos/TEAMMATES/teammates/deployments","created_at":"2014-05-02T07:43:00Z","updated_at":"2016-03-06T10:55:25Z","pushed_at":"2016-03-06T20:42:46Z","git_url":"git://github.com/TEAMMATES/teammates.git","ssh_url":"git@github.com:TEAMMATES/teammates.git","clone_url":"https://github.com/TEAMMATES/teammates.git","svn_url":"https://github.com/TEAMMATES/teammates","homepage":"http://teammatesv4.appspot.com/","size":144153,"stargazers_count":69,"watchers_count":69,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":185,"mirror_url":null,"open_issues_count":506,"forks":185,"open_issues":506,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892"},"html":{"href":"https://github.com/TEAMMATES/teammates/pull/4892"},"issue":{"href":"https://api.github.com/repos/TEAMMATES/teammates/issues/4892"},"comments":{"href":"https://api.github.com/repos/TEAMMATES/teammates/issues/4892/comments"},"review_comments":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892/comments"},"review_comment":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TEAMMATES/teammates/pulls/4892/commits"},"statuses":{"href":"https://api.github.com/repos/TEAMMATES/teammates/statuses/cc1dcebb03abf396e8e29ab2655bea48c5b7b2b8"}}}}