{"action":"closed","number":1460,"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1460","id":32597555,"html_url":"https://github.com/openmrs/openmrs-core/pull/1460","diff_url":"https://github.com/openmrs/openmrs-core/pull/1460.diff","patch_url":"https://github.com/openmrs/openmrs-core/pull/1460.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1460","number":1460,"state":"closed","locked":false,"title":"Trunk 4522: JVM 1.8 test fails.","user":{"login":"approce","id":11144422,"avatar_url":"https://avatars.githubusercontent.com/u/11144422?v=3","gravatar_id":"","url":"https://api.github.com/users/approce","html_url":"https://github.com/approce","followers_url":"https://api.github.com/users/approce/followers","following_url":"https://api.github.com/users/approce/following{/other_user}","gists_url":"https://api.github.com/users/approce/gists{/gist_id}","starred_url":"https://api.github.com/users/approce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/approce/subscriptions","organizations_url":"https://api.github.com/users/approce/orgs","repos_url":"https://api.github.com/users/approce/repos","events_url":"https://api.github.com/users/approce/events{/privacy}","received_events_url":"https://api.github.com/users/approce/received_events","type":"User","site_admin":false},"body":"The problem is in HashMap parameters order.\r\nHashMap<String, String> parameters = new HashMap<String, String>();\r\nparameters.put(\"one\", \"one\");\r\nparameters.put(\"two\", \"two\");\r\nThe assertion like : assertThat(stream.toString(), is(\"&two=two&one=one\")).\r\nIs not pretty good idea.\r\nCan we use something like:\r\nassertThat(stream.toString(), contains(\"&two=two\");\r\nassertThat(stream.toString(), contains(\"&one=one\");\r\nIt would be more stable, as we can't predict parameters order in HashMap.","created_at":"2015-04-03T16:00:33Z","updated_at":"2015-04-16T16:19:27Z","closed_at":"2015-04-16T16:19:27Z","merged_at":"2015-04-16T16:19:27Z","merge_commit_sha":"f2bb3dce880f0a50ef3a3f665d07f7abbee96212","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1460/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1460/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1460/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/d24261a9c9b65781f896ce2c690c63f5b8fe9c10","head":{"label":"approce:TRUNK-4522","ref":"TRUNK-4522","sha":"d24261a9c9b65781f896ce2c690c63f5b8fe9c10","user":{"login":"approce","id":11144422,"avatar_url":"https://avatars.githubusercontent.com/u/11144422?v=3","gravatar_id":"","url":"https://api.github.com/users/approce","html_url":"https://github.com/approce","followers_url":"https://api.github.com/users/approce/followers","following_url":"https://api.github.com/users/approce/following{/other_user}","gists_url":"https://api.github.com/users/approce/gists{/gist_id}","starred_url":"https://api.github.com/users/approce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/approce/subscriptions","organizations_url":"https://api.github.com/users/approce/orgs","repos_url":"https://api.github.com/users/approce/repos","events_url":"https://api.github.com/users/approce/events{/privacy}","received_events_url":"https://api.github.com/users/approce/received_events","type":"User","site_admin":false},"repo":{"id":31980417,"name":"openmrs-core","full_name":"approce/openmrs-core","owner":{"login":"approce","id":11144422,"avatar_url":"https://avatars.githubusercontent.com/u/11144422?v=3","gravatar_id":"","url":"https://api.github.com/users/approce","html_url":"https://github.com/approce","followers_url":"https://api.github.com/users/approce/followers","following_url":"https://api.github.com/users/approce/following{/other_user}","gists_url":"https://api.github.com/users/approce/gists{/gist_id}","starred_url":"https://api.github.com/users/approce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/approce/subscriptions","organizations_url":"https://api.github.com/users/approce/orgs","repos_url":"https://api.github.com/users/approce/repos","events_url":"https://api.github.com/users/approce/events{/privacy}","received_events_url":"https://api.github.com/users/approce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/approce/openmrs-core","description":"OpenMRS API and web application code","fork":true,"url":"https://api.github.com/repos/approce/openmrs-core","forks_url":"https://api.github.com/repos/approce/openmrs-core/forks","keys_url":"https://api.github.com/repos/approce/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/approce/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/approce/openmrs-core/teams","hooks_url":"https://api.github.com/repos/approce/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/approce/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/approce/openmrs-core/events","assignees_url":"https://api.github.com/repos/approce/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/approce/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/approce/openmrs-core/tags","blobs_url":"https://api.github.com/repos/approce/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/approce/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/approce/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/approce/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/approce/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/approce/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/approce/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/approce/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/approce/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/approce/openmrs-core/subscription","commits_url":"https://api.github.com/repos/approce/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/approce/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/approce/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/approce/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/approce/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/approce/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/approce/openmrs-core/merges","archive_url":"https://api.github.com/repos/approce/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/approce/openmrs-core/downloads","issues_url":"https://api.github.com/repos/approce/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/approce/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/approce/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/approce/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/approce/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/approce/openmrs-core/releases{/id}","created_at":"2015-03-10T20:34:36Z","updated_at":"2015-04-08T07:47:30Z","pushed_at":"2015-04-08T07:47:30Z","git_url":"git://github.com/approce/openmrs-core.git","ssh_url":"git@github.com:approce/openmrs-core.git","clone_url":"https://github.com/approce/openmrs-core.git","svn_url":"https://github.com/approce/openmrs-core","homepage":"http://openmrs.org","size":221566,"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":"openmrs:1.9.x","ref":"1.9.x","sha":"8404935c09416a9d1dd946ba02c282354fd21f49","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":5187976,"name":"openmrs-core","full_name":"openmrs/openmrs-core","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-core","description":"OpenMRS API and web application code","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-core","forks_url":"https://api.github.com/repos/openmrs/openmrs-core/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-core/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-core/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-core/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-core/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-core/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-core/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-core/releases{/id}","created_at":"2012-07-26T04:54:29Z","updated_at":"2015-04-16T16:16:30Z","pushed_at":"2015-04-16T16:19:27Z","git_url":"git://github.com/openmrs/openmrs-core.git","ssh_url":"git@github.com:openmrs/openmrs-core.git","clone_url":"https://github.com/openmrs/openmrs-core.git","svn_url":"https://github.com/openmrs/openmrs-core","homepage":"http://openmrs.org","size":266553,"stargazers_count":198,"watchers_count":198,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1038,"mirror_url":null,"open_issues_count":11,"forks":1038,"open_issues":11,"watchers":198,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1460"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1460"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1460"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1460/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1460/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1460/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-core/statuses/d24261a9c9b65781f896ce2c690c63f5b8fe9c10"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dkayiwa","id":1390773,"avatar_url":"https://avatars.githubusercontent.com/u/1390773?v=3","gravatar_id":"","url":"https://api.github.com/users/dkayiwa","html_url":"https://github.com/dkayiwa","followers_url":"https://api.github.com/users/dkayiwa/followers","following_url":"https://api.github.com/users/dkayiwa/following{/other_user}","gists_url":"https://api.github.com/users/dkayiwa/gists{/gist_id}","starred_url":"https://api.github.com/users/dkayiwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkayiwa/subscriptions","organizations_url":"https://api.github.com/users/dkayiwa/orgs","repos_url":"https://api.github.com/users/dkayiwa/repos","events_url":"https://api.github.com/users/dkayiwa/events{/privacy}","received_events_url":"https://api.github.com/users/dkayiwa/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}