{"action":"created","comment":{"url":"https://api.github.com/repos/timmolter/XChange/pulls/comments/28128586","id":28128586,"diff_hunk":"@@ -71,6 +72,21 @@ public BigDecimal getTradingFee() {\n   }\n \n   /**\n+   * Returns the wallet of the specified currency.\n+   *\n+   * @param currency one of the {@link Currencies}.\n+   * @return the wallet of the specified currency, or a zero balance wallet if no wallet with such currency.\n+   */\n+  public Wallet getWallet(String currency) {","path":"xchange-core/src/main/java/com/xeiam/xchange/dto/account/AccountInfo.java","position":17,"original_position":17,"commit_id":"c5c38271b25863d797891bcff0281092a34609c0","original_commit_id":"c5c38271b25863d797891bcff0281092a34609c0","user":{"login":"rafalkrupinski","id":3732079,"avatar_url":"https://avatars.githubusercontent.com/u/3732079?v=3","gravatar_id":"","url":"https://api.github.com/users/rafalkrupinski","html_url":"https://github.com/rafalkrupinski","followers_url":"https://api.github.com/users/rafalkrupinski/followers","following_url":"https://api.github.com/users/rafalkrupinski/following{/other_user}","gists_url":"https://api.github.com/users/rafalkrupinski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafalkrupinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafalkrupinski/subscriptions","organizations_url":"https://api.github.com/users/rafalkrupinski/orgs","repos_url":"https://api.github.com/users/rafalkrupinski/repos","events_url":"https://api.github.com/users/rafalkrupinski/events{/privacy}","received_events_url":"https://api.github.com/users/rafalkrupinski/received_events","type":"User","site_admin":false},"body":"You could keep the wallets as a Map, and change `getWallets()` to `{new ArrayList(wallets.values());}` instead","created_at":"2015-04-10T08:22:33Z","updated_at":"2015-04-10T08:22:33Z","html_url":"https://github.com/timmolter/XChange/pull/923#discussion_r28128586","pull_request_url":"https://api.github.com/repos/timmolter/XChange/pulls/923","_links":{"self":{"href":"https://api.github.com/repos/timmolter/XChange/pulls/comments/28128586"},"html":{"href":"https://github.com/timmolter/XChange/pull/923#discussion_r28128586"},"pull_request":{"href":"https://api.github.com/repos/timmolter/XChange/pulls/923"}}},"pull_request":{"url":"https://api.github.com/repos/timmolter/XChange/pulls/923","id":32977087,"html_url":"https://github.com/timmolter/XChange/pull/923","diff_url":"https://github.com/timmolter/XChange/pull/923.diff","patch_url":"https://github.com/timmolter/XChange/pull/923.patch","issue_url":"https://api.github.com/repos/timmolter/XChange/issues/923","number":923,"state":"open","locked":false,"title":"Add available, frozen fields to Wallet.","user":{"login":"sutra","id":18538,"avatar_url":"https://avatars.githubusercontent.com/u/18538?v=3","gravatar_id":"","url":"https://api.github.com/users/sutra","html_url":"https://github.com/sutra","followers_url":"https://api.github.com/users/sutra/followers","following_url":"https://api.github.com/users/sutra/following{/other_user}","gists_url":"https://api.github.com/users/sutra/gists{/gist_id}","starred_url":"https://api.github.com/users/sutra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutra/subscriptions","organizations_url":"https://api.github.com/users/sutra/orgs","repos_url":"https://api.github.com/users/sutra/repos","events_url":"https://api.github.com/users/sutra/events{/privacy}","received_events_url":"https://api.github.com/users/sutra/received_events","type":"User","site_admin":false},"body":"A proposal of differentiating the available and frozen amount in wallet.\r\n\r\nrefs #919 ","created_at":"2015-04-09T17:23:11Z","updated_at":"2015-04-10T08:22:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e9abc831b304b8847340b3afb0d1a8720592b83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/timmolter/XChange/pulls/923/commits","review_comments_url":"https://api.github.com/repos/timmolter/XChange/pulls/923/comments","review_comment_url":"https://api.github.com/repos/timmolter/XChange/pulls/comments{/number}","comments_url":"https://api.github.com/repos/timmolter/XChange/issues/923/comments","statuses_url":"https://api.github.com/repos/timmolter/XChange/statuses/c5c38271b25863d797891bcff0281092a34609c0","head":{"label":"sutra:feature/wallet-frozen","ref":"feature/wallet-frozen","sha":"c5c38271b25863d797891bcff0281092a34609c0","user":{"login":"sutra","id":18538,"avatar_url":"https://avatars.githubusercontent.com/u/18538?v=3","gravatar_id":"","url":"https://api.github.com/users/sutra","html_url":"https://github.com/sutra","followers_url":"https://api.github.com/users/sutra/followers","following_url":"https://api.github.com/users/sutra/following{/other_user}","gists_url":"https://api.github.com/users/sutra/gists{/gist_id}","starred_url":"https://api.github.com/users/sutra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutra/subscriptions","organizations_url":"https://api.github.com/users/sutra/orgs","repos_url":"https://api.github.com/users/sutra/repos","events_url":"https://api.github.com/users/sutra/events{/privacy}","received_events_url":"https://api.github.com/users/sutra/received_events","type":"User","site_admin":false},"repo":{"id":18971389,"name":"XChange","full_name":"sutra/XChange","owner":{"login":"sutra","id":18538,"avatar_url":"https://avatars.githubusercontent.com/u/18538?v=3","gravatar_id":"","url":"https://api.github.com/users/sutra","html_url":"https://github.com/sutra","followers_url":"https://api.github.com/users/sutra/followers","following_url":"https://api.github.com/users/sutra/following{/other_user}","gists_url":"https://api.github.com/users/sutra/gists{/gist_id}","starred_url":"https://api.github.com/users/sutra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sutra/subscriptions","organizations_url":"https://api.github.com/users/sutra/orgs","repos_url":"https://api.github.com/users/sutra/repos","events_url":"https://api.github.com/users/sutra/events{/privacy}","received_events_url":"https://api.github.com/users/sutra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sutra/XChange","description":"XChange is a Java library providing a streamlined API for interacting with over a dozen Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.","fork":true,"url":"https://api.github.com/repos/sutra/XChange","forks_url":"https://api.github.com/repos/sutra/XChange/forks","keys_url":"https://api.github.com/repos/sutra/XChange/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sutra/XChange/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sutra/XChange/teams","hooks_url":"https://api.github.com/repos/sutra/XChange/hooks","issue_events_url":"https://api.github.com/repos/sutra/XChange/issues/events{/number}","events_url":"https://api.github.com/repos/sutra/XChange/events","assignees_url":"https://api.github.com/repos/sutra/XChange/assignees{/user}","branches_url":"https://api.github.com/repos/sutra/XChange/branches{/branch}","tags_url":"https://api.github.com/repos/sutra/XChange/tags","blobs_url":"https://api.github.com/repos/sutra/XChange/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sutra/XChange/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sutra/XChange/git/refs{/sha}","trees_url":"https://api.github.com/repos/sutra/XChange/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sutra/XChange/statuses/{sha}","languages_url":"https://api.github.com/repos/sutra/XChange/languages","stargazers_url":"https://api.github.com/repos/sutra/XChange/stargazers","contributors_url":"https://api.github.com/repos/sutra/XChange/contributors","subscribers_url":"https://api.github.com/repos/sutra/XChange/subscribers","subscription_url":"https://api.github.com/repos/sutra/XChange/subscription","commits_url":"https://api.github.com/repos/sutra/XChange/commits{/sha}","git_commits_url":"https://api.github.com/repos/sutra/XChange/git/commits{/sha}","comments_url":"https://api.github.com/repos/sutra/XChange/comments{/number}","issue_comment_url":"https://api.github.com/repos/sutra/XChange/issues/comments{/number}","contents_url":"https://api.github.com/repos/sutra/XChange/contents/{+path}","compare_url":"https://api.github.com/repos/sutra/XChange/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sutra/XChange/merges","archive_url":"https://api.github.com/repos/sutra/XChange/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sutra/XChange/downloads","issues_url":"https://api.github.com/repos/sutra/XChange/issues{/number}","pulls_url":"https://api.github.com/repos/sutra/XChange/pulls{/number}","milestones_url":"https://api.github.com/repos/sutra/XChange/milestones{/number}","notifications_url":"https://api.github.com/repos/sutra/XChange/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sutra/XChange/labels{/name}","releases_url":"https://api.github.com/repos/sutra/XChange/releases{/id}","created_at":"2014-04-20T18:56:07Z","updated_at":"2015-04-08T14:55:51Z","pushed_at":"2015-04-09T17:20:21Z","git_url":"git://github.com/sutra/XChange.git","ssh_url":"git@github.com:sutra/XChange.git","clone_url":"https://github.com/sutra/XChange.git","svn_url":"https://github.com/sutra/XChange","homepage":"xeiam.com/xchange","size":16964,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"timmolter:develop","ref":"develop","sha":"5eca42113cf315df21f05b1f9bafe0ad33fb48ea","user":{"login":"timmolter","id":738972,"avatar_url":"https://avatars.githubusercontent.com/u/738972?v=3","gravatar_id":"","url":"https://api.github.com/users/timmolter","html_url":"https://github.com/timmolter","followers_url":"https://api.github.com/users/timmolter/followers","following_url":"https://api.github.com/users/timmolter/following{/other_user}","gists_url":"https://api.github.com/users/timmolter/gists{/gist_id}","starred_url":"https://api.github.com/users/timmolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmolter/subscriptions","organizations_url":"https://api.github.com/users/timmolter/orgs","repos_url":"https://api.github.com/users/timmolter/repos","events_url":"https://api.github.com/users/timmolter/events{/privacy}","received_events_url":"https://api.github.com/users/timmolter/received_events","type":"User","site_admin":false},"repo":{"id":3333998,"name":"XChange","full_name":"timmolter/XChange","owner":{"login":"timmolter","id":738972,"avatar_url":"https://avatars.githubusercontent.com/u/738972?v=3","gravatar_id":"","url":"https://api.github.com/users/timmolter","html_url":"https://github.com/timmolter","followers_url":"https://api.github.com/users/timmolter/followers","following_url":"https://api.github.com/users/timmolter/following{/other_user}","gists_url":"https://api.github.com/users/timmolter/gists{/gist_id}","starred_url":"https://api.github.com/users/timmolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmolter/subscriptions","organizations_url":"https://api.github.com/users/timmolter/orgs","repos_url":"https://api.github.com/users/timmolter/repos","events_url":"https://api.github.com/users/timmolter/events{/privacy}","received_events_url":"https://api.github.com/users/timmolter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timmolter/XChange","description":"XChange is a Java library providing a streamlined API for interacting with 30+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.","fork":false,"url":"https://api.github.com/repos/timmolter/XChange","forks_url":"https://api.github.com/repos/timmolter/XChange/forks","keys_url":"https://api.github.com/repos/timmolter/XChange/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timmolter/XChange/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timmolter/XChange/teams","hooks_url":"https://api.github.com/repos/timmolter/XChange/hooks","issue_events_url":"https://api.github.com/repos/timmolter/XChange/issues/events{/number}","events_url":"https://api.github.com/repos/timmolter/XChange/events","assignees_url":"https://api.github.com/repos/timmolter/XChange/assignees{/user}","branches_url":"https://api.github.com/repos/timmolter/XChange/branches{/branch}","tags_url":"https://api.github.com/repos/timmolter/XChange/tags","blobs_url":"https://api.github.com/repos/timmolter/XChange/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timmolter/XChange/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timmolter/XChange/git/refs{/sha}","trees_url":"https://api.github.com/repos/timmolter/XChange/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timmolter/XChange/statuses/{sha}","languages_url":"https://api.github.com/repos/timmolter/XChange/languages","stargazers_url":"https://api.github.com/repos/timmolter/XChange/stargazers","contributors_url":"https://api.github.com/repos/timmolter/XChange/contributors","subscribers_url":"https://api.github.com/repos/timmolter/XChange/subscribers","subscription_url":"https://api.github.com/repos/timmolter/XChange/subscription","commits_url":"https://api.github.com/repos/timmolter/XChange/commits{/sha}","git_commits_url":"https://api.github.com/repos/timmolter/XChange/git/commits{/sha}","comments_url":"https://api.github.com/repos/timmolter/XChange/comments{/number}","issue_comment_url":"https://api.github.com/repos/timmolter/XChange/issues/comments{/number}","contents_url":"https://api.github.com/repos/timmolter/XChange/contents/{+path}","compare_url":"https://api.github.com/repos/timmolter/XChange/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timmolter/XChange/merges","archive_url":"https://api.github.com/repos/timmolter/XChange/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timmolter/XChange/downloads","issues_url":"https://api.github.com/repos/timmolter/XChange/issues{/number}","pulls_url":"https://api.github.com/repos/timmolter/XChange/pulls{/number}","milestones_url":"https://api.github.com/repos/timmolter/XChange/milestones{/number}","notifications_url":"https://api.github.com/repos/timmolter/XChange/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timmolter/XChange/labels{/name}","releases_url":"https://api.github.com/repos/timmolter/XChange/releases{/id}","created_at":"2012-02-02T10:48:28Z","updated_at":"2015-04-09T17:02:09Z","pushed_at":"2015-04-09T17:23:11Z","git_url":"git://github.com/timmolter/XChange.git","ssh_url":"git@github.com:timmolter/XChange.git","clone_url":"https://github.com/timmolter/XChange.git","svn_url":"https://github.com/timmolter/XChange","homepage":"http://xeiam.com/xchange","size":32241,"stargazers_count":433,"watchers_count":433,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":276,"mirror_url":null,"open_issues_count":38,"forks":276,"open_issues":38,"watchers":433,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/timmolter/XChange/pulls/923"},"html":{"href":"https://github.com/timmolter/XChange/pull/923"},"issue":{"href":"https://api.github.com/repos/timmolter/XChange/issues/923"},"comments":{"href":"https://api.github.com/repos/timmolter/XChange/issues/923/comments"},"review_comments":{"href":"https://api.github.com/repos/timmolter/XChange/pulls/923/comments"},"review_comment":{"href":"https://api.github.com/repos/timmolter/XChange/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/timmolter/XChange/pulls/923/commits"},"statuses":{"href":"https://api.github.com/repos/timmolter/XChange/statuses/c5c38271b25863d797891bcff0281092a34609c0"}}}}