{"action":"created","comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/comments/41084289","id":41084289,"diff_hunk":"@@ -47,10 +51,7 @@ public SQLiteStorageEngineFactory getSQLiteStorageEngineFactory() {\n \n     public File getRootDirectory() {\n         String rootDirectoryPath = System.getProperty(\"user.dir\");\n-        File rootDirectory = new File(rootDirectoryPath);\n-        rootDirectory = new File(rootDirectory, \"data/data/com.couchbase.lite.test/files\");\n-\n-        return rootDirectory;\n+        return new File(rootDirectoryPath, \"data/data/com.couchbase.lite.test/files\");","path":"src/main/java/com/couchbase/lite/JavaContext.java","position":28,"original_position":28,"commit_id":"dfa92039e1ee4351398f6db9a120e1b5bbecee86","original_commit_id":"dfa92039e1ee4351398f6db9a120e1b5bbecee86","user":{"login":"pasin","id":801454,"avatar_url":"https://avatars.githubusercontent.com/u/801454?v=3","gravatar_id":"","url":"https://api.github.com/users/pasin","html_url":"https://github.com/pasin","followers_url":"https://api.github.com/users/pasin/followers","following_url":"https://api.github.com/users/pasin/following{/other_user}","gists_url":"https://api.github.com/users/pasin/gists{/gist_id}","starred_url":"https://api.github.com/users/pasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasin/subscriptions","organizations_url":"https://api.github.com/users/pasin/orgs","repos_url":"https://api.github.com/users/pasin/repos","events_url":"https://api.github.com/users/pasin/events{/privacy}","received_events_url":"https://api.github.com/users/pasin/received_events","type":"User","site_admin":false},"body":"> Is it <USER HOME DIR>/data/data/com.couchbase.lite.test/files ?\r\n\r\n Yes.\r\n\r\n> Is it expected path?\r\n\r\n It has been like this since the project was built. I didn't change anything. Another option would be current folder. If you wanna change, we can discuss.\r\n","created_at":"2015-10-03T05:54:53Z","updated_at":"2015-10-03T05:54:53Z","html_url":"https://github.com/couchbase/couchbase-lite-java/pull/76#discussion_r41084289","pull_request_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/comments/41084289"},"html":{"href":"https://github.com/couchbase/couchbase-lite-java/pull/76#discussion_r41084289"},"pull_request":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76","id":46661420,"html_url":"https://github.com/couchbase/couchbase-lite-java/pull/76","diff_url":"https://github.com/couchbase/couchbase-lite-java/pull/76.diff","patch_url":"https://github.com/couchbase/couchbase-lite-java/pull/76.patch","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/76","number":76,"state":"open","locked":false,"title":"Support SQLite database and attachment rekey","user":{"login":"pasin","id":801454,"avatar_url":"https://avatars.githubusercontent.com/u/801454?v=3","gravatar_id":"","url":"https://api.github.com/users/pasin","html_url":"https://github.com/pasin","followers_url":"https://api.github.com/users/pasin/followers","following_url":"https://api.github.com/users/pasin/following{/other_user}","gists_url":"https://api.github.com/users/pasin/gists{/gist_id}","starred_url":"https://api.github.com/users/pasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasin/subscriptions","organizations_url":"https://api.github.com/users/pasin/orgs","repos_url":"https://api.github.com/users/pasin/repos","events_url":"https://api.github.com/users/pasin/events{/privacy}","received_events_url":"https://api.github.com/users/pasin/received_events","type":"User","site_admin":false},"body":"Added getTempDir to JavaContext\r\n\r\nhttps://github.com/couchbase/couchbase-lite-java-core/issues/719\r\nhttps://github.com/couchbase/couchbase-lite-java-core/issues/720","created_at":"2015-10-02T17:38:04Z","updated_at":"2015-10-03T05:54:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df4916ebe44e15d23fcc677ee86a5f013f171734","assignee":{"login":"hideki","id":15889,"avatar_url":"https://avatars.githubusercontent.com/u/15889?v=3","gravatar_id":"","url":"https://api.github.com/users/hideki","html_url":"https://github.com/hideki","followers_url":"https://api.github.com/users/hideki/followers","following_url":"https://api.github.com/users/hideki/following{/other_user}","gists_url":"https://api.github.com/users/hideki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideki/subscriptions","organizations_url":"https://api.github.com/users/hideki/orgs","repos_url":"https://api.github.com/users/hideki/repos","events_url":"https://api.github.com/users/hideki/events{/privacy}","received_events_url":"https://api.github.com/users/hideki/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java/milestones/4","html_url":"https://github.com/couchbase/couchbase-lite-java/milestones/1.2.0","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/milestones/4/labels","id":1161159,"number":4,"title":"1.2.0","description":"","creator":{"login":"zgramana","id":759830,"avatar_url":"https://avatars.githubusercontent.com/u/759830?v=3","gravatar_id":"","url":"https://api.github.com/users/zgramana","html_url":"https://github.com/zgramana","followers_url":"https://api.github.com/users/zgramana/followers","following_url":"https://api.github.com/users/zgramana/following{/other_user}","gists_url":"https://api.github.com/users/zgramana/gists{/gist_id}","starred_url":"https://api.github.com/users/zgramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgramana/subscriptions","organizations_url":"https://api.github.com/users/zgramana/orgs","repos_url":"https://api.github.com/users/zgramana/repos","events_url":"https://api.github.com/users/zgramana/events{/privacy}","received_events_url":"https://api.github.com/users/zgramana/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2015-06-11T23:52:21Z","updated_at":"2015-10-02T17:38:05Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76/commits","review_comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76/comments","review_comment_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/76/comments","statuses_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/statuses/dfa92039e1ee4351398f6db9a120e1b5bbecee86","head":{"label":"couchbase:feature/rekey","ref":"feature/rekey","sha":"dfa92039e1ee4351398f6db9a120e1b5bbecee86","user":{"login":"couchbase","id":605755,"avatar_url":"https://avatars.githubusercontent.com/u/605755?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbase","html_url":"https://github.com/couchbase","followers_url":"https://api.github.com/users/couchbase/followers","following_url":"https://api.github.com/users/couchbase/following{/other_user}","gists_url":"https://api.github.com/users/couchbase/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbase/subscriptions","organizations_url":"https://api.github.com/users/couchbase/orgs","repos_url":"https://api.github.com/users/couchbase/repos","events_url":"https://api.github.com/users/couchbase/events{/privacy}","received_events_url":"https://api.github.com/users/couchbase/received_events","type":"Organization","site_admin":false},"repo":{"id":16630147,"name":"couchbase-lite-java","full_name":"couchbase/couchbase-lite-java","owner":{"login":"couchbase","id":605755,"avatar_url":"https://avatars.githubusercontent.com/u/605755?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbase","html_url":"https://github.com/couchbase","followers_url":"https://api.github.com/users/couchbase/followers","following_url":"https://api.github.com/users/couchbase/following{/other_user}","gists_url":"https://api.github.com/users/couchbase/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbase/subscriptions","organizations_url":"https://api.github.com/users/couchbase/orgs","repos_url":"https://api.github.com/users/couchbase/repos","events_url":"https://api.github.com/users/couchbase/events{/privacy}","received_events_url":"https://api.github.com/users/couchbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchbase/couchbase-lite-java","description":"Portable java version of Couchbase Lite","fork":false,"url":"https://api.github.com/repos/couchbase/couchbase-lite-java","forks_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/forks","keys_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/teams","hooks_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/hooks","issue_events_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/events{/number}","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/events","assignees_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/assignees{/user}","branches_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/branches{/branch}","tags_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/tags","blobs_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/statuses/{sha}","languages_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/languages","stargazers_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/stargazers","contributors_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/contributors","subscribers_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/subscribers","subscription_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/subscription","commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/contents/{+path}","compare_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/merges","archive_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/downloads","issues_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues{/number}","pulls_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls{/number}","milestones_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/milestones{/number}","notifications_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/labels{/name}","releases_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/releases{/id}","created_at":"2014-02-07T22:58:26Z","updated_at":"2015-06-16T10:30:00Z","pushed_at":"2015-10-02T17:38:06Z","git_url":"git://github.com/couchbase/couchbase-lite-java.git","ssh_url":"git@github.com:couchbase/couchbase-lite-java.git","clone_url":"https://github.com/couchbase/couchbase-lite-java.git","svn_url":"https://github.com/couchbase/couchbase-lite-java","homepage":null,"size":4492,"stargazers_count":14,"watchers_count":14,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":12,"forks":13,"open_issues":12,"watchers":14,"default_branch":"master"}},"base":{"label":"couchbase:master","ref":"master","sha":"667ff116d40e94cbe81a56526e99c7b99da2cac4","user":{"login":"couchbase","id":605755,"avatar_url":"https://avatars.githubusercontent.com/u/605755?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbase","html_url":"https://github.com/couchbase","followers_url":"https://api.github.com/users/couchbase/followers","following_url":"https://api.github.com/users/couchbase/following{/other_user}","gists_url":"https://api.github.com/users/couchbase/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbase/subscriptions","organizations_url":"https://api.github.com/users/couchbase/orgs","repos_url":"https://api.github.com/users/couchbase/repos","events_url":"https://api.github.com/users/couchbase/events{/privacy}","received_events_url":"https://api.github.com/users/couchbase/received_events","type":"Organization","site_admin":false},"repo":{"id":16630147,"name":"couchbase-lite-java","full_name":"couchbase/couchbase-lite-java","owner":{"login":"couchbase","id":605755,"avatar_url":"https://avatars.githubusercontent.com/u/605755?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbase","html_url":"https://github.com/couchbase","followers_url":"https://api.github.com/users/couchbase/followers","following_url":"https://api.github.com/users/couchbase/following{/other_user}","gists_url":"https://api.github.com/users/couchbase/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbase/subscriptions","organizations_url":"https://api.github.com/users/couchbase/orgs","repos_url":"https://api.github.com/users/couchbase/repos","events_url":"https://api.github.com/users/couchbase/events{/privacy}","received_events_url":"https://api.github.com/users/couchbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchbase/couchbase-lite-java","description":"Portable java version of Couchbase Lite","fork":false,"url":"https://api.github.com/repos/couchbase/couchbase-lite-java","forks_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/forks","keys_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/teams","hooks_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/hooks","issue_events_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/events{/number}","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/events","assignees_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/assignees{/user}","branches_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/branches{/branch}","tags_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/tags","blobs_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/statuses/{sha}","languages_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/languages","stargazers_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/stargazers","contributors_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/contributors","subscribers_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/subscribers","subscription_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/subscription","commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/contents/{+path}","compare_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/merges","archive_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/downloads","issues_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues{/number}","pulls_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls{/number}","milestones_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/milestones{/number}","notifications_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/labels{/name}","releases_url":"https://api.github.com/repos/couchbase/couchbase-lite-java/releases{/id}","created_at":"2014-02-07T22:58:26Z","updated_at":"2015-06-16T10:30:00Z","pushed_at":"2015-10-02T17:38:06Z","git_url":"git://github.com/couchbase/couchbase-lite-java.git","ssh_url":"git@github.com:couchbase/couchbase-lite-java.git","clone_url":"https://github.com/couchbase/couchbase-lite-java.git","svn_url":"https://github.com/couchbase/couchbase-lite-java","homepage":null,"size":4492,"stargazers_count":14,"watchers_count":14,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":12,"forks":13,"open_issues":12,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76"},"html":{"href":"https://github.com/couchbase/couchbase-lite-java/pull/76"},"issue":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/76"},"comments":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-java/statuses/dfa92039e1ee4351398f6db9a120e1b5bbecee86"}}}}