{"action":"created","comment":{"url":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments/73766656","id":73766656,"diff_hunk":"@@ -154,11 +154,19 @@ public ProfileSearchTerm getLastSearchTerm(String userUuid) {\n \n \t\tif (cache.containsKey(userUuid)) {\n \n+\t\t\tlog.debug(\"Fetching searchHistory from cache for: \" + userUuid);\n+\t\t\n \t\t\tList<ProfileSearchTerm> searchHistory = new ArrayList<ProfileSearchTerm>(\n \t\t\t\t\t((Map<String, ProfileSearchTerm>) cache.get(userUuid))\n \t\t\t\t\t\t\t.values());\n \n-\t\t\tCollections.sort(searchHistory);\n+\t\t\tif(searchHistory != null) {","path":"profile2/impl/src/java/org/sakaiproject/profile2/logic/ProfileSearchLogicImpl.java","position":11,"original_position":11,"commit_id":"225b27a6975d7d5961d4776bc1ce711ad4c54137","original_commit_id":"225b27a6975d7d5961d4776bc1ce711ad4c54137","user":{"login":"steveswinsburg","id":129129,"avatar_url":"https://avatars.githubusercontent.com/u/129129?v=3","gravatar_id":"","url":"https://api.github.com/users/steveswinsburg","html_url":"https://github.com/steveswinsburg","followers_url":"https://api.github.com/users/steveswinsburg/followers","following_url":"https://api.github.com/users/steveswinsburg/following{/other_user}","gists_url":"https://api.github.com/users/steveswinsburg/gists{/gist_id}","starred_url":"https://api.github.com/users/steveswinsburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveswinsburg/subscriptions","organizations_url":"https://api.github.com/users/steveswinsburg/orgs","repos_url":"https://api.github.com/users/steveswinsburg/repos","events_url":"https://api.github.com/users/steveswinsburg/events{/privacy}","received_events_url":"https://api.github.com/users/steveswinsburg/received_events","type":"User","site_admin":false},"body":"This is redundant, it cant be null here","created_at":"2016-08-05T22:10:06Z","updated_at":"2016-08-05T22:10:06Z","html_url":"https://github.com/sakaiproject/sakai/pull/3136#discussion_r73766656","pull_request_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136","_links":{"self":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments/73766656"},"html":{"href":"https://github.com/sakaiproject/sakai/pull/3136#discussion_r73766656"},"pull_request":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136"}}},"pull_request":{"url":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136","id":80163734,"html_url":"https://github.com/sakaiproject/sakai/pull/3136","diff_url":"https://github.com/sakaiproject/sakai/pull/3136.diff","patch_url":"https://github.com/sakaiproject/sakai/pull/3136.patch","issue_url":"https://api.github.com/repos/sakaiproject/sakai/issues/3136","number":3136,"state":"closed","locked":false,"title":"SAK-31645: fix cache expiration problems in profile2","user":{"login":"mgolden-noodle","id":8107248,"avatar_url":"https://avatars.githubusercontent.com/u/8107248?v=3","gravatar_id":"","url":"https://api.github.com/users/mgolden-noodle","html_url":"https://github.com/mgolden-noodle","followers_url":"https://api.github.com/users/mgolden-noodle/followers","following_url":"https://api.github.com/users/mgolden-noodle/following{/other_user}","gists_url":"https://api.github.com/users/mgolden-noodle/gists{/gist_id}","starred_url":"https://api.github.com/users/mgolden-noodle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgolden-noodle/subscriptions","organizations_url":"https://api.github.com/users/mgolden-noodle/orgs","repos_url":"https://api.github.com/users/mgolden-noodle/repos","events_url":"https://api.github.com/users/mgolden-noodle/events{/privacy}","received_events_url":"https://api.github.com/users/mgolden-noodle/received_events","type":"User","site_admin":false},"body":"This fixes the cache expiration issues in profile2,\r\n\r\nhttps://jira.sakaiproject.org/browse/SAK-31645","created_at":"2016-08-04T22:59:09Z","updated_at":"2016-08-05T22:10:06Z","closed_at":"2016-08-05T21:28:50Z","merged_at":"2016-08-05T21:28:50Z","merge_commit_sha":"ddd2761d11c1cb517841dd1f6b4c6f458273ce22","assignee":{"login":"steveswinsburg","id":129129,"avatar_url":"https://avatars.githubusercontent.com/u/129129?v=3","gravatar_id":"","url":"https://api.github.com/users/steveswinsburg","html_url":"https://github.com/steveswinsburg","followers_url":"https://api.github.com/users/steveswinsburg/followers","following_url":"https://api.github.com/users/steveswinsburg/following{/other_user}","gists_url":"https://api.github.com/users/steveswinsburg/gists{/gist_id}","starred_url":"https://api.github.com/users/steveswinsburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveswinsburg/subscriptions","organizations_url":"https://api.github.com/users/steveswinsburg/orgs","repos_url":"https://api.github.com/users/steveswinsburg/repos","events_url":"https://api.github.com/users/steveswinsburg/events{/privacy}","received_events_url":"https://api.github.com/users/steveswinsburg/received_events","type":"User","site_admin":false},"assignees":[{"login":"steveswinsburg","id":129129,"avatar_url":"https://avatars.githubusercontent.com/u/129129?v=3","gravatar_id":"","url":"https://api.github.com/users/steveswinsburg","html_url":"https://github.com/steveswinsburg","followers_url":"https://api.github.com/users/steveswinsburg/followers","following_url":"https://api.github.com/users/steveswinsburg/following{/other_user}","gists_url":"https://api.github.com/users/steveswinsburg/gists{/gist_id}","starred_url":"https://api.github.com/users/steveswinsburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveswinsburg/subscriptions","organizations_url":"https://api.github.com/users/steveswinsburg/orgs","repos_url":"https://api.github.com/users/steveswinsburg/repos","events_url":"https://api.github.com/users/steveswinsburg/events{/privacy}","received_events_url":"https://api.github.com/users/steveswinsburg/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136/commits","review_comments_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136/comments","review_comment_url":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sakaiproject/sakai/issues/3136/comments","statuses_url":"https://api.github.com/repos/sakaiproject/sakai/statuses/225b27a6975d7d5961d4776bc1ce711ad4c54137","head":{"label":"NoodlePartnersVOPM:SAK-31645-12","ref":"SAK-31645-12","sha":"225b27a6975d7d5961d4776bc1ce711ad4c54137","user":{"login":"NoodlePartnersVOPM","id":20861383,"avatar_url":"https://avatars.githubusercontent.com/u/20861383?v=3","gravatar_id":"","url":"https://api.github.com/users/NoodlePartnersVOPM","html_url":"https://github.com/NoodlePartnersVOPM","followers_url":"https://api.github.com/users/NoodlePartnersVOPM/followers","following_url":"https://api.github.com/users/NoodlePartnersVOPM/following{/other_user}","gists_url":"https://api.github.com/users/NoodlePartnersVOPM/gists{/gist_id}","starred_url":"https://api.github.com/users/NoodlePartnersVOPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoodlePartnersVOPM/subscriptions","organizations_url":"https://api.github.com/users/NoodlePartnersVOPM/orgs","repos_url":"https://api.github.com/users/NoodlePartnersVOPM/repos","events_url":"https://api.github.com/users/NoodlePartnersVOPM/events{/privacy}","received_events_url":"https://api.github.com/users/NoodlePartnersVOPM/received_events","type":"Organization","site_admin":false},"repo":{"id":64972378,"name":"sakai","full_name":"NoodlePartnersVOPM/sakai","owner":{"login":"NoodlePartnersVOPM","id":20861383,"avatar_url":"https://avatars.githubusercontent.com/u/20861383?v=3","gravatar_id":"","url":"https://api.github.com/users/NoodlePartnersVOPM","html_url":"https://github.com/NoodlePartnersVOPM","followers_url":"https://api.github.com/users/NoodlePartnersVOPM/followers","following_url":"https://api.github.com/users/NoodlePartnersVOPM/following{/other_user}","gists_url":"https://api.github.com/users/NoodlePartnersVOPM/gists{/gist_id}","starred_url":"https://api.github.com/users/NoodlePartnersVOPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoodlePartnersVOPM/subscriptions","organizations_url":"https://api.github.com/users/NoodlePartnersVOPM/orgs","repos_url":"https://api.github.com/users/NoodlePartnersVOPM/repos","events_url":"https://api.github.com/users/NoodlePartnersVOPM/events{/privacy}","received_events_url":"https://api.github.com/users/NoodlePartnersVOPM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NoodlePartnersVOPM/sakai","description":"Sakai is a freely available, feature-rich technology solution for learning, teaching, research and collaboration. Sakai is an open source software suite developed by a diverse and global adopter community.","fork":true,"url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai","forks_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/forks","keys_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/teams","hooks_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/hooks","issue_events_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/issues/events{/number}","events_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/events","assignees_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/assignees{/user}","branches_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/branches{/branch}","tags_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/tags","blobs_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/statuses/{sha}","languages_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/languages","stargazers_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/stargazers","contributors_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/contributors","subscribers_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/subscribers","subscription_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/subscription","commits_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/issues/comments{/number}","contents_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/contents/{+path}","compare_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/merges","archive_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/downloads","issues_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/issues{/number}","pulls_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/pulls{/number}","milestones_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/milestones{/number}","notifications_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/labels{/name}","releases_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/releases{/id}","deployments_url":"https://api.github.com/repos/NoodlePartnersVOPM/sakai/deployments","created_at":"2016-08-04T22:55:55Z","updated_at":"2016-08-05T15:04:16Z","pushed_at":"2016-08-05T02:46:53Z","git_url":"git://github.com/NoodlePartnersVOPM/sakai.git","ssh_url":"git@github.com:NoodlePartnersVOPM/sakai.git","clone_url":"https://github.com/NoodlePartnersVOPM/sakai.git","svn_url":"https://github.com/NoodlePartnersVOPM/sakai","homepage":"https://www.sakaiproject.org","size":306614,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"sakaiproject:master","ref":"master","sha":"ea1d829cb9f9c7bdb15be8a813b486c214c86b98","user":{"login":"sakaiproject","id":314726,"avatar_url":"https://avatars.githubusercontent.com/u/314726?v=3","gravatar_id":"","url":"https://api.github.com/users/sakaiproject","html_url":"https://github.com/sakaiproject","followers_url":"https://api.github.com/users/sakaiproject/followers","following_url":"https://api.github.com/users/sakaiproject/following{/other_user}","gists_url":"https://api.github.com/users/sakaiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/sakaiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakaiproject/subscriptions","organizations_url":"https://api.github.com/users/sakaiproject/orgs","repos_url":"https://api.github.com/users/sakaiproject/repos","events_url":"https://api.github.com/users/sakaiproject/events{/privacy}","received_events_url":"https://api.github.com/users/sakaiproject/received_events","type":"Organization","site_admin":false},"repo":{"id":28589709,"name":"sakai","full_name":"sakaiproject/sakai","owner":{"login":"sakaiproject","id":314726,"avatar_url":"https://avatars.githubusercontent.com/u/314726?v=3","gravatar_id":"","url":"https://api.github.com/users/sakaiproject","html_url":"https://github.com/sakaiproject","followers_url":"https://api.github.com/users/sakaiproject/followers","following_url":"https://api.github.com/users/sakaiproject/following{/other_user}","gists_url":"https://api.github.com/users/sakaiproject/gists{/gist_id}","starred_url":"https://api.github.com/users/sakaiproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakaiproject/subscriptions","organizations_url":"https://api.github.com/users/sakaiproject/orgs","repos_url":"https://api.github.com/users/sakaiproject/repos","events_url":"https://api.github.com/users/sakaiproject/events{/privacy}","received_events_url":"https://api.github.com/users/sakaiproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sakaiproject/sakai","description":"Sakai is a freely available, feature-rich technology solution for learning, teaching, research and collaboration. Sakai is an open source software suite developed by a diverse and global adopter community.","fork":false,"url":"https://api.github.com/repos/sakaiproject/sakai","forks_url":"https://api.github.com/repos/sakaiproject/sakai/forks","keys_url":"https://api.github.com/repos/sakaiproject/sakai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sakaiproject/sakai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sakaiproject/sakai/teams","hooks_url":"https://api.github.com/repos/sakaiproject/sakai/hooks","issue_events_url":"https://api.github.com/repos/sakaiproject/sakai/issues/events{/number}","events_url":"https://api.github.com/repos/sakaiproject/sakai/events","assignees_url":"https://api.github.com/repos/sakaiproject/sakai/assignees{/user}","branches_url":"https://api.github.com/repos/sakaiproject/sakai/branches{/branch}","tags_url":"https://api.github.com/repos/sakaiproject/sakai/tags","blobs_url":"https://api.github.com/repos/sakaiproject/sakai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sakaiproject/sakai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sakaiproject/sakai/git/refs{/sha}","trees_url":"https://api.github.com/repos/sakaiproject/sakai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sakaiproject/sakai/statuses/{sha}","languages_url":"https://api.github.com/repos/sakaiproject/sakai/languages","stargazers_url":"https://api.github.com/repos/sakaiproject/sakai/stargazers","contributors_url":"https://api.github.com/repos/sakaiproject/sakai/contributors","subscribers_url":"https://api.github.com/repos/sakaiproject/sakai/subscribers","subscription_url":"https://api.github.com/repos/sakaiproject/sakai/subscription","commits_url":"https://api.github.com/repos/sakaiproject/sakai/commits{/sha}","git_commits_url":"https://api.github.com/repos/sakaiproject/sakai/git/commits{/sha}","comments_url":"https://api.github.com/repos/sakaiproject/sakai/comments{/number}","issue_comment_url":"https://api.github.com/repos/sakaiproject/sakai/issues/comments{/number}","contents_url":"https://api.github.com/repos/sakaiproject/sakai/contents/{+path}","compare_url":"https://api.github.com/repos/sakaiproject/sakai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sakaiproject/sakai/merges","archive_url":"https://api.github.com/repos/sakaiproject/sakai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sakaiproject/sakai/downloads","issues_url":"https://api.github.com/repos/sakaiproject/sakai/issues{/number}","pulls_url":"https://api.github.com/repos/sakaiproject/sakai/pulls{/number}","milestones_url":"https://api.github.com/repos/sakaiproject/sakai/milestones{/number}","notifications_url":"https://api.github.com/repos/sakaiproject/sakai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sakaiproject/sakai/labels{/name}","releases_url":"https://api.github.com/repos/sakaiproject/sakai/releases{/id}","deployments_url":"https://api.github.com/repos/sakaiproject/sakai/deployments","created_at":"2014-12-29T11:14:17Z","updated_at":"2016-08-01T21:10:49Z","pushed_at":"2016-08-05T21:50:23Z","git_url":"git://github.com/sakaiproject/sakai.git","ssh_url":"git@github.com:sakaiproject/sakai.git","clone_url":"https://github.com/sakaiproject/sakai.git","svn_url":"https://github.com/sakaiproject/sakai","homepage":"https://www.sakaiproject.org","size":334312,"stargazers_count":153,"watchers_count":153,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":285,"mirror_url":null,"open_issues_count":75,"forks":285,"open_issues":75,"watchers":153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136"},"html":{"href":"https://github.com/sakaiproject/sakai/pull/3136"},"issue":{"href":"https://api.github.com/repos/sakaiproject/sakai/issues/3136"},"comments":{"href":"https://api.github.com/repos/sakaiproject/sakai/issues/3136/comments"},"review_comments":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136/comments"},"review_comment":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sakaiproject/sakai/pulls/3136/commits"},"statuses":{"href":"https://api.github.com/repos/sakaiproject/sakai/statuses/225b27a6975d7d5961d4776bc1ce711ad4c54137"}}}}
{"actor":{"display_login":"steveswinsburg"}}