{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments/88897927","pull_request_review_id":9455091,"id":88897927,"diff_hunk":"@@ -11,14 +11,21 @@\n  */\n public interface HistoryRepository {\n \n-    /**\n-     * Returns the transaction history of the user\n-     *\n-     * @return  List of Transaction objects\n-     * @param username used to match the user whose transaction history\n-     * @param offset used to skip the first records\n-     * @param limit the number of records to be returned\n-     */\n-    List<Transaction> getBalanceHistory(String username, int offset, int limit);\n+  /**\n+   * Returns the transaction history of the user\n+   *\n+   * @param username used to match the user whose transaction history\n+   * @param offset   used to skip the first records\n+   * @param limit    the number of records to be returned\n+   * @return List of Transaction objects\n+   */\n+  List<Transaction> getBalanceHistory(String username, int offset, int limit);\n+\n+  /**\n+   * Returns the number of distinct transactions for today\n+   *\n+   * @return Map of Integer values and String keys\n+   */\n+  Map<String, Integer> dailyTransactions();","path":"src/main/java/com/clouway/core/HistoryRepository.java","position":null,"original_position":37,"commit_id":"ff419da3dad74b762d9fc746f5d55adebd29f721","original_commit_id":"2331bb7fb6bf1628b87009f968a3539e486a39dd","user":{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false},"body":"no the account repo need to do only account related stuff . So what options do you have. \r\nIf you ask me you could make and Interface DallyActivityRepo it would fit perfectly  ","created_at":"2016-11-21T13:55:03Z","updated_at":"2016-11-21T13:55:03Z","html_url":"https://github.com/clouway-incubator/servlets/pull/119#discussion_r88897927","pull_request_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments/88897927"},"html":{"href":"https://github.com/clouway-incubator/servlets/pull/119#discussion_r88897927"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119","id":94317021,"html_url":"https://github.com/clouway-incubator/servlets/pull/119","diff_url":"https://github.com/clouway-incubator/servlets/pull/119.diff","patch_url":"https://github.com/clouway-incubator/servlets/pull/119.patch","issue_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/119","number":119,"state":"open","locked":false,"title":"bank: collecting statistics of the bank activity","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"body":"Added statistics about the number of deposits and withdraws for the current day.They are displayed on the home page of the bank.\r\n\r\nFixes #57\r\n\r\n![personal](https://cloud.githubusercontent.com/assets/19385077/20477953/c4daa1be-afe0-11e6-9145-3b0b14691f5c.png)","created_at":"2016-11-18T07:50:36Z","updated_at":"2016-11-21T13:55:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b50ec2fec6b5bf9ff701dd85b3f716e4b399fe47","assignee":{"login":"mgenov","id":209223,"avatar_url":"https://avatars.githubusercontent.com/u/209223?v=3","gravatar_id":"","url":"https://api.github.com/users/mgenov","html_url":"https://github.com/mgenov","followers_url":"https://api.github.com/users/mgenov/followers","following_url":"https://api.github.com/users/mgenov/following{/other_user}","gists_url":"https://api.github.com/users/mgenov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgenov/subscriptions","organizations_url":"https://api.github.com/users/mgenov/orgs","repos_url":"https://api.github.com/users/mgenov/repos","events_url":"https://api.github.com/users/mgenov/events{/privacy}","received_events_url":"https://api.github.com/users/mgenov/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgenov","id":209223,"avatar_url":"https://avatars.githubusercontent.com/u/209223?v=3","gravatar_id":"","url":"https://api.github.com/users/mgenov","html_url":"https://github.com/mgenov","followers_url":"https://api.github.com/users/mgenov/followers","following_url":"https://api.github.com/users/mgenov/following{/other_user}","gists_url":"https://api.github.com/users/mgenov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgenov/subscriptions","organizations_url":"https://api.github.com/users/mgenov/orgs","repos_url":"https://api.github.com/users/mgenov/repos","events_url":"https://api.github.com/users/mgenov/events{/privacy}","received_events_url":"https://api.github.com/users/mgenov/received_events","type":"User","site_admin":false},{"login":"martinmilev","id":2754552,"avatar_url":"https://avatars.githubusercontent.com/u/2754552?v=3","gravatar_id":"","url":"https://api.github.com/users/martinmilev","html_url":"https://github.com/martinmilev","followers_url":"https://api.github.com/users/martinmilev/followers","following_url":"https://api.github.com/users/martinmilev/following{/other_user}","gists_url":"https://api.github.com/users/martinmilev/gists{/gist_id}","starred_url":"https://api.github.com/users/martinmilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinmilev/subscriptions","organizations_url":"https://api.github.com/users/martinmilev/orgs","repos_url":"https://api.github.com/users/martinmilev/repos","events_url":"https://api.github.com/users/martinmilev/events{/privacy}","received_events_url":"https://api.github.com/users/martinmilev/received_events","type":"User","site_admin":false},{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/119/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/servlets/statuses/ff419da3dad74b762d9fc746f5d55adebd29f721","head":{"label":"gadjevb:statistics","ref":"statistics","sha":"ff419da3dad74b762d9fc746f5d55adebd29f721","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"repo":{"id":68595020,"name":"servlets","full_name":"gadjevb/servlets","owner":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gadjevb/servlets","description":"Servlets ","fork":true,"url":"https://api.github.com/repos/gadjevb/servlets","forks_url":"https://api.github.com/repos/gadjevb/servlets/forks","keys_url":"https://api.github.com/repos/gadjevb/servlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gadjevb/servlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gadjevb/servlets/teams","hooks_url":"https://api.github.com/repos/gadjevb/servlets/hooks","issue_events_url":"https://api.github.com/repos/gadjevb/servlets/issues/events{/number}","events_url":"https://api.github.com/repos/gadjevb/servlets/events","assignees_url":"https://api.github.com/repos/gadjevb/servlets/assignees{/user}","branches_url":"https://api.github.com/repos/gadjevb/servlets/branches{/branch}","tags_url":"https://api.github.com/repos/gadjevb/servlets/tags","blobs_url":"https://api.github.com/repos/gadjevb/servlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gadjevb/servlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gadjevb/servlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/gadjevb/servlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gadjevb/servlets/statuses/{sha}","languages_url":"https://api.github.com/repos/gadjevb/servlets/languages","stargazers_url":"https://api.github.com/repos/gadjevb/servlets/stargazers","contributors_url":"https://api.github.com/repos/gadjevb/servlets/contributors","subscribers_url":"https://api.github.com/repos/gadjevb/servlets/subscribers","subscription_url":"https://api.github.com/repos/gadjevb/servlets/subscription","commits_url":"https://api.github.com/repos/gadjevb/servlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/gadjevb/servlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/gadjevb/servlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/gadjevb/servlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/gadjevb/servlets/contents/{+path}","compare_url":"https://api.github.com/repos/gadjevb/servlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gadjevb/servlets/merges","archive_url":"https://api.github.com/repos/gadjevb/servlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gadjevb/servlets/downloads","issues_url":"https://api.github.com/repos/gadjevb/servlets/issues{/number}","pulls_url":"https://api.github.com/repos/gadjevb/servlets/pulls{/number}","milestones_url":"https://api.github.com/repos/gadjevb/servlets/milestones{/number}","notifications_url":"https://api.github.com/repos/gadjevb/servlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gadjevb/servlets/labels{/name}","releases_url":"https://api.github.com/repos/gadjevb/servlets/releases{/id}","deployments_url":"https://api.github.com/repos/gadjevb/servlets/deployments","created_at":"2016-09-19T10:24:39Z","updated_at":"2015-10-15T06:53:35Z","pushed_at":"2016-11-21T13:54:49Z","git_url":"git://github.com/gadjevb/servlets.git","ssh_url":"git@github.com:gadjevb/servlets.git","clone_url":"https://github.com/gadjevb/servlets.git","svn_url":"https://github.com/gadjevb/servlets","homepage":null,"size":7549,"stargazers_count":0,"watchers_count":0,"language":null,"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":"clouway-incubator:master","ref":"master","sha":"7e230a1fb72d74b39d7ef4fc12e7edb72831be5b","user":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":44299216,"name":"servlets","full_name":"clouway-incubator/servlets","owner":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/servlets","description":"Servlets ","fork":false,"url":"https://api.github.com/repos/clouway-incubator/servlets","forks_url":"https://api.github.com/repos/clouway-incubator/servlets/forks","keys_url":"https://api.github.com/repos/clouway-incubator/servlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/servlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/servlets/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/servlets/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/servlets/events","assignees_url":"https://api.github.com/repos/clouway-incubator/servlets/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/servlets/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/servlets/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/servlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/servlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/servlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/servlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/servlets/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/servlets/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/servlets/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/servlets/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/servlets/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/servlets/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/servlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/servlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/servlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/servlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/servlets/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/servlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/servlets/merges","archive_url":"https://api.github.com/repos/clouway-incubator/servlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/servlets/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/servlets/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/servlets/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/servlets/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/servlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/servlets/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/servlets/releases{/id}","deployments_url":"https://api.github.com/repos/clouway-incubator/servlets/deployments","created_at":"2015-10-15T06:53:35Z","updated_at":"2016-11-08T08:02:29Z","pushed_at":"2016-11-21T13:54:50Z","git_url":"git://github.com/clouway-incubator/servlets.git","ssh_url":"git@github.com:clouway-incubator/servlets.git","clone_url":"https://github.com/clouway-incubator/servlets.git","svn_url":"https://github.com/clouway-incubator/servlets","homepage":null,"size":7136,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119"},"html":{"href":"https://github.com/clouway-incubator/servlets/pull/119"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/servlets/issues/119"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/servlets/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/servlets/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/servlets/statuses/ff419da3dad74b762d9fc746f5d55adebd29f721"}}}}
{"actor":{"display_login":"freekman"}}