{"action":"closed","number":187,"pull_request":{"url":"https://api.github.com/repos/appium/java-client/pulls/187","id":33627205,"html_url":"https://github.com/appium/java-client/pull/187","diff_url":"https://github.com/appium/java-client/pull/187.diff","patch_url":"https://github.com/appium/java-client/pull/187.patch","issue_url":"https://api.github.com/repos/appium/java-client/issues/187","number":187,"state":"closed","locked":false,"title":"#185 fix","user":{"login":"TikhomirovSergey","id":4927589,"avatar_url":"https://avatars.githubusercontent.com/u/4927589?v=3","gravatar_id":"","url":"https://api.github.com/users/TikhomirovSergey","html_url":"https://github.com/TikhomirovSergey","followers_url":"https://api.github.com/users/TikhomirovSergey/followers","following_url":"https://api.github.com/users/TikhomirovSergey/following{/other_user}","gists_url":"https://api.github.com/users/TikhomirovSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/TikhomirovSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TikhomirovSergey/subscriptions","organizations_url":"https://api.github.com/users/TikhomirovSergey/orgs","repos_url":"https://api.github.com/users/TikhomirovSergey/repos","events_url":"https://api.github.com/users/TikhomirovSergey/events{/privacy}","received_events_url":"https://api.github.com/users/TikhomirovSergey/received_events","type":"User","site_admin":false},"body":"Fixed #185 \r\n\r\n```java\r\n@FindBy(locator)\r\nMobileElement element;\r\n...\r\n\r\n\r\n(AndroidElement) element..//if now test of an Android app is being run\r\n//or\r\n(IOSElement) element..//if now test of an iOS app is being run\r\n```\r\n\r\nAlso now there is something like... bounding. It means that user is not allowed to declare IOSElement field for Android-specific scripts/pageobjects and AndroidElement field for iOS-specific scripts/pageobjects.\r\n\r\n- Additional change:\r\nAn ability to declare TouchableElement field has been added.\r\n\r\n```java\r\n@FindBy(locator)\r\nTouchableElement element;\r\n...\r\n```","created_at":"2015-04-19T22:26:57Z","updated_at":"2015-04-20T20:46:28Z","closed_at":"2015-04-20T20:46:28Z","merged_at":"2015-04-20T20:46:28Z","merge_commit_sha":"a556bc96084e8cf4e9f0ce25b35f98e21ecb7657","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appium/java-client/pulls/187/commits","review_comments_url":"https://api.github.com/repos/appium/java-client/pulls/187/comments","review_comment_url":"https://api.github.com/repos/appium/java-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/java-client/issues/187/comments","statuses_url":"https://api.github.com/repos/appium/java-client/statuses/361e492f0c3147194f0fb7716f63c39254c07cf9","head":{"label":"TikhomirovSergey:#185fix","ref":"#185fix","sha":"361e492f0c3147194f0fb7716f63c39254c07cf9","user":{"login":"TikhomirovSergey","id":4927589,"avatar_url":"https://avatars.githubusercontent.com/u/4927589?v=3","gravatar_id":"","url":"https://api.github.com/users/TikhomirovSergey","html_url":"https://github.com/TikhomirovSergey","followers_url":"https://api.github.com/users/TikhomirovSergey/followers","following_url":"https://api.github.com/users/TikhomirovSergey/following{/other_user}","gists_url":"https://api.github.com/users/TikhomirovSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/TikhomirovSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TikhomirovSergey/subscriptions","organizations_url":"https://api.github.com/users/TikhomirovSergey/orgs","repos_url":"https://api.github.com/users/TikhomirovSergey/repos","events_url":"https://api.github.com/users/TikhomirovSergey/events{/privacy}","received_events_url":"https://api.github.com/users/TikhomirovSergey/received_events","type":"User","site_admin":false},"repo":{"id":33052830,"name":"java-client","full_name":"TikhomirovSergey/java-client","owner":{"login":"TikhomirovSergey","id":4927589,"avatar_url":"https://avatars.githubusercontent.com/u/4927589?v=3","gravatar_id":"","url":"https://api.github.com/users/TikhomirovSergey","html_url":"https://github.com/TikhomirovSergey","followers_url":"https://api.github.com/users/TikhomirovSergey/followers","following_url":"https://api.github.com/users/TikhomirovSergey/following{/other_user}","gists_url":"https://api.github.com/users/TikhomirovSergey/gists{/gist_id}","starred_url":"https://api.github.com/users/TikhomirovSergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TikhomirovSergey/subscriptions","organizations_url":"https://api.github.com/users/TikhomirovSergey/orgs","repos_url":"https://api.github.com/users/TikhomirovSergey/repos","events_url":"https://api.github.com/users/TikhomirovSergey/events{/privacy}","received_events_url":"https://api.github.com/users/TikhomirovSergey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TikhomirovSergey/java-client","description":"Java language binding for writing Appium Tests, conforms to Mobile JSON Wire Protocol","fork":true,"url":"https://api.github.com/repos/TikhomirovSergey/java-client","forks_url":"https://api.github.com/repos/TikhomirovSergey/java-client/forks","keys_url":"https://api.github.com/repos/TikhomirovSergey/java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TikhomirovSergey/java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TikhomirovSergey/java-client/teams","hooks_url":"https://api.github.com/repos/TikhomirovSergey/java-client/hooks","issue_events_url":"https://api.github.com/repos/TikhomirovSergey/java-client/issues/events{/number}","events_url":"https://api.github.com/repos/TikhomirovSergey/java-client/events","assignees_url":"https://api.github.com/repos/TikhomirovSergey/java-client/assignees{/user}","branches_url":"https://api.github.com/repos/TikhomirovSergey/java-client/branches{/branch}","tags_url":"https://api.github.com/repos/TikhomirovSergey/java-client/tags","blobs_url":"https://api.github.com/repos/TikhomirovSergey/java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TikhomirovSergey/java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TikhomirovSergey/java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/TikhomirovSergey/java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TikhomirovSergey/java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/TikhomirovSergey/java-client/languages","stargazers_url":"https://api.github.com/repos/TikhomirovSergey/java-client/stargazers","contributors_url":"https://api.github.com/repos/TikhomirovSergey/java-client/contributors","subscribers_url":"https://api.github.com/repos/TikhomirovSergey/java-client/subscribers","subscription_url":"https://api.github.com/repos/TikhomirovSergey/java-client/subscription","commits_url":"https://api.github.com/repos/TikhomirovSergey/java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/TikhomirovSergey/java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/TikhomirovSergey/java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/TikhomirovSergey/java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/TikhomirovSergey/java-client/contents/{+path}","compare_url":"https://api.github.com/repos/TikhomirovSergey/java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TikhomirovSergey/java-client/merges","archive_url":"https://api.github.com/repos/TikhomirovSergey/java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TikhomirovSergey/java-client/downloads","issues_url":"https://api.github.com/repos/TikhomirovSergey/java-client/issues{/number}","pulls_url":"https://api.github.com/repos/TikhomirovSergey/java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/TikhomirovSergey/java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/TikhomirovSergey/java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TikhomirovSergey/java-client/labels{/name}","releases_url":"https://api.github.com/repos/TikhomirovSergey/java-client/releases{/id}","created_at":"2015-03-28T22:32:42Z","updated_at":"2015-03-28T22:32:42Z","pushed_at":"2015-04-18T23:50:46Z","git_url":"git://github.com/TikhomirovSergey/java-client.git","ssh_url":"git@github.com:TikhomirovSergey/java-client.git","clone_url":"https://github.com/TikhomirovSergey/java-client.git","svn_url":"https://github.com/TikhomirovSergey/java-client","homepage":null,"size":27851,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"appium:master","ref":"master","sha":"b9f605158c61246b72525605257538dff6646ff1","user":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":18454064,"name":"java-client","full_name":"appium/java-client","owner":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/java-client","description":"Java language binding for writing Appium Tests, conforms to Mobile JSON Wire Protocol","fork":false,"url":"https://api.github.com/repos/appium/java-client","forks_url":"https://api.github.com/repos/appium/java-client/forks","keys_url":"https://api.github.com/repos/appium/java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/java-client/teams","hooks_url":"https://api.github.com/repos/appium/java-client/hooks","issue_events_url":"https://api.github.com/repos/appium/java-client/issues/events{/number}","events_url":"https://api.github.com/repos/appium/java-client/events","assignees_url":"https://api.github.com/repos/appium/java-client/assignees{/user}","branches_url":"https://api.github.com/repos/appium/java-client/branches{/branch}","tags_url":"https://api.github.com/repos/appium/java-client/tags","blobs_url":"https://api.github.com/repos/appium/java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/java-client/languages","stargazers_url":"https://api.github.com/repos/appium/java-client/stargazers","contributors_url":"https://api.github.com/repos/appium/java-client/contributors","subscribers_url":"https://api.github.com/repos/appium/java-client/subscribers","subscription_url":"https://api.github.com/repos/appium/java-client/subscription","commits_url":"https://api.github.com/repos/appium/java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/java-client/contents/{+path}","compare_url":"https://api.github.com/repos/appium/java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/java-client/merges","archive_url":"https://api.github.com/repos/appium/java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/java-client/downloads","issues_url":"https://api.github.com/repos/appium/java-client/issues{/number}","pulls_url":"https://api.github.com/repos/appium/java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/java-client/labels{/name}","releases_url":"https://api.github.com/repos/appium/java-client/releases{/id}","created_at":"2014-04-04T22:05:23Z","updated_at":"2015-04-20T00:50:03Z","pushed_at":"2015-04-20T20:46:28Z","git_url":"git://github.com/appium/java-client.git","ssh_url":"git@github.com:appium/java-client.git","clone_url":"https://github.com/appium/java-client.git","svn_url":"https://github.com/appium/java-client","homepage":null,"size":28675,"stargazers_count":94,"watchers_count":94,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":99,"mirror_url":null,"open_issues_count":31,"forks":99,"open_issues":31,"watchers":94,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/java-client/pulls/187"},"html":{"href":"https://github.com/appium/java-client/pull/187"},"issue":{"href":"https://api.github.com/repos/appium/java-client/issues/187"},"comments":{"href":"https://api.github.com/repos/appium/java-client/issues/187/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/java-client/pulls/187/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/java-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/java-client/pulls/187/commits"},"statuses":{"href":"https://api.github.com/repos/appium/java-client/statuses/361e492f0c3147194f0fb7716f63c39254c07cf9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Jonahss","id":1521841,"avatar_url":"https://avatars.githubusercontent.com/u/1521841?v=3","gravatar_id":"","url":"https://api.github.com/users/Jonahss","html_url":"https://github.com/Jonahss","followers_url":"https://api.github.com/users/Jonahss/followers","following_url":"https://api.github.com/users/Jonahss/following{/other_user}","gists_url":"https://api.github.com/users/Jonahss/gists{/gist_id}","starred_url":"https://api.github.com/users/Jonahss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jonahss/subscriptions","organizations_url":"https://api.github.com/users/Jonahss/orgs","repos_url":"https://api.github.com/users/Jonahss/repos","events_url":"https://api.github.com/users/Jonahss/events{/privacy}","received_events_url":"https://api.github.com/users/Jonahss/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":91,"deletions":13,"changed_files":3}}