{"action":"created","comment":{"url":"https://api.github.com/repos/teamagam/GimelGimel/pulls/comments/75693187","id":75693187,"diff_hunk":"@@ -0,0 +1,72 @@\n+package com.teamagam.gimelgimel.data.geometry.repository;\n+\n+import com.teamagam.gimelgimel.data.geometry.repository.inMemory.InMemoryGeoDataCache;\n+import com.teamagam.gimelgimel.domain.geometries.entities.GeoEntity;\n+import com.teamagam.gimelgimel.domain.geometries.entities.VectorLayer;\n+import com.teamagam.gimelgimel.domain.geometries.repository.GeoRepository;\n+\n+import rx.Observable;\n+\n+public class GeoDataRepository implements GeoRepository {\n+\n+    private InMemoryGeoDataCache mCache;\n+\n+    public GeoDataRepository(InMemoryGeoDataCache cache) {\n+        mCache = cache;\n+    }\n+\n+    @Override\n+    public Observable<VectorLayer> getAllVectorLayers() {\n+        return mCache.getAllVectorLayers();\n+    }\n+\n+    @Override\n+    public Observable<VectorLayer> getVectorLayerById(String id) {\n+        return mCache.getVectorLayerById(id);\n+    }\n+\n+    @Override\n+    public Observable<GeoEntity> getEntity(String layerId, String entityId) {\n+        return mCache.getEntity(layerId, entityId);\n+    }\n+\n+    @Override\n+    public void addVectorLayer(VectorLayer vectorLayer) {\n+        mCache.addVectorLayer(vectorLayer);\n+    }\n+\n+    @Override\n+    public void addVectorLayers(VectorLayer[] vectorLayers) {","path":"data/src/main/java/com/teamagam/gimelgimel/data/geometry/repository/GeoDataRepository.java","position":39,"original_position":39,"commit_id":"f91d00826b8624e4ceac28700ffda278e16859e7","original_commit_id":"f91d00826b8624e4ceac28700ffda278e16859e7","user":{"login":"teamagam3","id":18391871,"avatar_url":"https://avatars.githubusercontent.com/u/18391871?v=3","gravatar_id":"","url":"https://api.github.com/users/teamagam3","html_url":"https://github.com/teamagam3","followers_url":"https://api.github.com/users/teamagam3/followers","following_url":"https://api.github.com/users/teamagam3/following{/other_user}","gists_url":"https://api.github.com/users/teamagam3/gists{/gist_id}","starred_url":"https://api.github.com/users/teamagam3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamagam3/subscriptions","organizations_url":"https://api.github.com/users/teamagam3/orgs","repos_url":"https://api.github.com/users/teamagam3/repos","events_url":"https://api.github.com/users/teamagam3/events{/privacy}","received_events_url":"https://api.github.com/users/teamagam3/received_events","type":"User","site_admin":false},"body":"Arrays are more generic way, because we can convert every data type of list to array.\r\nI can change it to list because it's interface.","created_at":"2016-08-22T14:57:33Z","updated_at":"2016-08-22T14:57:33Z","html_url":"https://github.com/teamagam/GimelGimel/pull/99#discussion_r75693187","pull_request_url":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/teamagam/GimelGimel/pulls/comments/75693187"},"html":{"href":"https://github.com/teamagam/GimelGimel/pull/99#discussion_r75693187"},"pull_request":{"href":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99","id":82099047,"html_url":"https://github.com/teamagam/GimelGimel/pull/99","diff_url":"https://github.com/teamagam/GimelGimel/pull/99.diff","patch_url":"https://github.com/teamagam/GimelGimel/pull/99.patch","issue_url":"https://api.github.com/repos/teamagam/GimelGimel/issues/99","number":99,"state":"open","locked":false,"title":"Added VectorLayer repository.","user":{"login":"teamagam3","id":18391871,"avatar_url":"https://avatars.githubusercontent.com/u/18391871?v=3","gravatar_id":"","url":"https://api.github.com/users/teamagam3","html_url":"https://github.com/teamagam3","followers_url":"https://api.github.com/users/teamagam3/followers","following_url":"https://api.github.com/users/teamagam3/following{/other_user}","gists_url":"https://api.github.com/users/teamagam3/gists{/gist_id}","starred_url":"https://api.github.com/users/teamagam3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamagam3/subscriptions","organizations_url":"https://api.github.com/users/teamagam3/orgs","repos_url":"https://api.github.com/users/teamagam3/repos","events_url":"https://api.github.com/users/teamagam3/events{/privacy}","received_events_url":"https://api.github.com/users/teamagam3/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-21T07:22:02Z","updated_at":"2016-08-22T14:57:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d1801938946dcece1baa730edd6149648b9c463","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99/commits","review_comments_url":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99/comments","review_comment_url":"https://api.github.com/repos/teamagam/GimelGimel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teamagam/GimelGimel/issues/99/comments","statuses_url":"https://api.github.com/repos/teamagam/GimelGimel/statuses/f91d00826b8624e4ceac28700ffda278e16859e7","head":{"label":"teamagam:task/vector_layer_repository","ref":"task/vector_layer_repository","sha":"f91d00826b8624e4ceac28700ffda278e16859e7","user":{"login":"teamagam","id":16633359,"avatar_url":"https://avatars.githubusercontent.com/u/16633359?v=3","gravatar_id":"","url":"https://api.github.com/users/teamagam","html_url":"https://github.com/teamagam","followers_url":"https://api.github.com/users/teamagam/followers","following_url":"https://api.github.com/users/teamagam/following{/other_user}","gists_url":"https://api.github.com/users/teamagam/gists{/gist_id}","starred_url":"https://api.github.com/users/teamagam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamagam/subscriptions","organizations_url":"https://api.github.com/users/teamagam/orgs","repos_url":"https://api.github.com/users/teamagam/repos","events_url":"https://api.github.com/users/teamagam/events{/privacy}","received_events_url":"https://api.github.com/users/teamagam/received_events","type":"Organization","site_admin":false},"repo":{"id":52010471,"name":"GimelGimel","full_name":"teamagam/GimelGimel","owner":{"login":"teamagam","id":16633359,"avatar_url":"https://avatars.githubusercontent.com/u/16633359?v=3","gravatar_id":"","url":"https://api.github.com/users/teamagam","html_url":"https://github.com/teamagam","followers_url":"https://api.github.com/users/teamagam/followers","following_url":"https://api.github.com/users/teamagam/following{/other_user}","gists_url":"https://api.github.com/users/teamagam/gists{/gist_id}","starred_url":"https://api.github.com/users/teamagam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamagam/subscriptions","organizations_url":"https://api.github.com/users/teamagam/orgs","repos_url":"https://api.github.com/users/teamagam/repos","events_url":"https://api.github.com/users/teamagam/events{/privacy}","received_events_url":"https://api.github.com/users/teamagam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamagam/GimelGimel","description":"Our First Application.","fork":false,"url":"https://api.github.com/repos/teamagam/GimelGimel","forks_url":"https://api.github.com/repos/teamagam/GimelGimel/forks","keys_url":"https://api.github.com/repos/teamagam/GimelGimel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamagam/GimelGimel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamagam/GimelGimel/teams","hooks_url":"https://api.github.com/repos/teamagam/GimelGimel/hooks","issue_events_url":"https://api.github.com/repos/teamagam/GimelGimel/issues/events{/number}","events_url":"https://api.github.com/repos/teamagam/GimelGimel/events","assignees_url":"https://api.github.com/repos/teamagam/GimelGimel/assignees{/user}","branches_url":"https://api.github.com/repos/teamagam/GimelGimel/branches{/branch}","tags_url":"https://api.github.com/repos/teamagam/GimelGimel/tags","blobs_url":"https://api.github.com/repos/teamagam/GimelGimel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamagam/GimelGimel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamagam/GimelGimel/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamagam/GimelGimel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamagam/GimelGimel/statuses/{sha}","languages_url":"https://api.github.com/repos/teamagam/GimelGimel/languages","stargazers_url":"https://api.github.com/repos/teamagam/GimelGimel/stargazers","contributors_url":"https://api.github.com/repos/teamagam/GimelGimel/contributors","subscribers_url":"https://api.github.com/repos/teamagam/GimelGimel/subscribers","subscription_url":"https://api.github.com/repos/teamagam/GimelGimel/subscription","commits_url":"https://api.github.com/repos/teamagam/GimelGimel/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamagam/GimelGimel/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamagam/GimelGimel/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamagam/GimelGimel/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamagam/GimelGimel/contents/{+path}","compare_url":"https://api.github.com/repos/teamagam/GimelGimel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamagam/GimelGimel/merges","archive_url":"https://api.github.com/repos/teamagam/GimelGimel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamagam/GimelGimel/downloads","issues_url":"https://api.github.com/repos/teamagam/GimelGimel/issues{/number}","pulls_url":"https://api.github.com/repos/teamagam/GimelGimel/pulls{/number}","milestones_url":"https://api.github.com/repos/teamagam/GimelGimel/milestones{/number}","notifications_url":"https://api.github.com/repos/teamagam/GimelGimel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamagam/GimelGimel/labels{/name}","releases_url":"https://api.github.com/repos/teamagam/GimelGimel/releases{/id}","deployments_url":"https://api.github.com/repos/teamagam/GimelGimel/deployments","created_at":"2016-02-18T13:53:07Z","updated_at":"2016-08-11T14:28:40Z","pushed_at":"2016-08-22T14:17:33Z","git_url":"git://github.com/teamagam/GimelGimel.git","ssh_url":"git@github.com:teamagam/GimelGimel.git","clone_url":"https://github.com/teamagam/GimelGimel.git","svn_url":"https://github.com/teamagam/GimelGimel","homepage":null,"size":137641,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"teamagam:feature/refactor_geo_message","ref":"feature/refactor_geo_message","sha":"d71145621d81b0f7b0160ea356b89edff8dbd283","user":{"login":"teamagam","id":16633359,"avatar_url":"https://avatars.githubusercontent.com/u/16633359?v=3","gravatar_id":"","url":"https://api.github.com/users/teamagam","html_url":"https://github.com/teamagam","followers_url":"https://api.github.com/users/teamagam/followers","following_url":"https://api.github.com/users/teamagam/following{/other_user}","gists_url":"https://api.github.com/users/teamagam/gists{/gist_id}","starred_url":"https://api.github.com/users/teamagam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamagam/subscriptions","organizations_url":"https://api.github.com/users/teamagam/orgs","repos_url":"https://api.github.com/users/teamagam/repos","events_url":"https://api.github.com/users/teamagam/events{/privacy}","received_events_url":"https://api.github.com/users/teamagam/received_events","type":"Organization","site_admin":false},"repo":{"id":52010471,"name":"GimelGimel","full_name":"teamagam/GimelGimel","owner":{"login":"teamagam","id":16633359,"avatar_url":"https://avatars.githubusercontent.com/u/16633359?v=3","gravatar_id":"","url":"https://api.github.com/users/teamagam","html_url":"https://github.com/teamagam","followers_url":"https://api.github.com/users/teamagam/followers","following_url":"https://api.github.com/users/teamagam/following{/other_user}","gists_url":"https://api.github.com/users/teamagam/gists{/gist_id}","starred_url":"https://api.github.com/users/teamagam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamagam/subscriptions","organizations_url":"https://api.github.com/users/teamagam/orgs","repos_url":"https://api.github.com/users/teamagam/repos","events_url":"https://api.github.com/users/teamagam/events{/privacy}","received_events_url":"https://api.github.com/users/teamagam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamagam/GimelGimel","description":"Our First Application.","fork":false,"url":"https://api.github.com/repos/teamagam/GimelGimel","forks_url":"https://api.github.com/repos/teamagam/GimelGimel/forks","keys_url":"https://api.github.com/repos/teamagam/GimelGimel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamagam/GimelGimel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamagam/GimelGimel/teams","hooks_url":"https://api.github.com/repos/teamagam/GimelGimel/hooks","issue_events_url":"https://api.github.com/repos/teamagam/GimelGimel/issues/events{/number}","events_url":"https://api.github.com/repos/teamagam/GimelGimel/events","assignees_url":"https://api.github.com/repos/teamagam/GimelGimel/assignees{/user}","branches_url":"https://api.github.com/repos/teamagam/GimelGimel/branches{/branch}","tags_url":"https://api.github.com/repos/teamagam/GimelGimel/tags","blobs_url":"https://api.github.com/repos/teamagam/GimelGimel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamagam/GimelGimel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamagam/GimelGimel/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamagam/GimelGimel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamagam/GimelGimel/statuses/{sha}","languages_url":"https://api.github.com/repos/teamagam/GimelGimel/languages","stargazers_url":"https://api.github.com/repos/teamagam/GimelGimel/stargazers","contributors_url":"https://api.github.com/repos/teamagam/GimelGimel/contributors","subscribers_url":"https://api.github.com/repos/teamagam/GimelGimel/subscribers","subscription_url":"https://api.github.com/repos/teamagam/GimelGimel/subscription","commits_url":"https://api.github.com/repos/teamagam/GimelGimel/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamagam/GimelGimel/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamagam/GimelGimel/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamagam/GimelGimel/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamagam/GimelGimel/contents/{+path}","compare_url":"https://api.github.com/repos/teamagam/GimelGimel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamagam/GimelGimel/merges","archive_url":"https://api.github.com/repos/teamagam/GimelGimel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamagam/GimelGimel/downloads","issues_url":"https://api.github.com/repos/teamagam/GimelGimel/issues{/number}","pulls_url":"https://api.github.com/repos/teamagam/GimelGimel/pulls{/number}","milestones_url":"https://api.github.com/repos/teamagam/GimelGimel/milestones{/number}","notifications_url":"https://api.github.com/repos/teamagam/GimelGimel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamagam/GimelGimel/labels{/name}","releases_url":"https://api.github.com/repos/teamagam/GimelGimel/releases{/id}","deployments_url":"https://api.github.com/repos/teamagam/GimelGimel/deployments","created_at":"2016-02-18T13:53:07Z","updated_at":"2016-08-11T14:28:40Z","pushed_at":"2016-08-22T14:17:33Z","git_url":"git://github.com/teamagam/GimelGimel.git","ssh_url":"git@github.com:teamagam/GimelGimel.git","clone_url":"https://github.com/teamagam/GimelGimel.git","svn_url":"https://github.com/teamagam/GimelGimel","homepage":null,"size":137641,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99"},"html":{"href":"https://github.com/teamagam/GimelGimel/pull/99"},"issue":{"href":"https://api.github.com/repos/teamagam/GimelGimel/issues/99"},"comments":{"href":"https://api.github.com/repos/teamagam/GimelGimel/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/teamagam/GimelGimel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teamagam/GimelGimel/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/teamagam/GimelGimel/statuses/f91d00826b8624e4ceac28700ffda278e16859e7"}}}}
{"actor":{"display_login":"teamagam3"}}