{"action":"created","comment":{"url":"https://api.github.com/repos/geoserver/geoserver/pulls/comments/46074117","id":46074117,"diff_hunk":"@@ -61,7 +69,7 @@ public boolean hasWriteLock() throws IOException{\n      * @throws IOException\n      */\n     public boolean hasForeignWriteLock() throws IOException{        \n-        return lockFile.exists() && lockFile.lastModified()!=lockFileLastModified;\n+        return Resources.exists(lockFile) && lockFile.lastmodified()!=lockFileLastModified;","path":"src/main/src/main/java/org/geoserver/security/file/LockFile.java","position":65,"original_position":65,"commit_id":"ffbbadbb07060cc13e233d46585c99de19bca7cb","original_commit_id":"ffbbadbb07060cc13e233d46585c99de19bca7cb","user":{"login":"bencaradocdavies","id":1900866,"avatar_url":"https://avatars.githubusercontent.com/u/1900866?v=3","gravatar_id":"","url":"https://api.github.com/users/bencaradocdavies","html_url":"https://github.com/bencaradocdavies","followers_url":"https://api.github.com/users/bencaradocdavies/followers","following_url":"https://api.github.com/users/bencaradocdavies/following{/other_user}","gists_url":"https://api.github.com/users/bencaradocdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/bencaradocdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bencaradocdavies/subscriptions","organizations_url":"https://api.github.com/users/bencaradocdavies/orgs","repos_url":"https://api.github.com/users/bencaradocdavies/repos","events_url":"https://api.github.com/users/bencaradocdavies/events{/privacy}","received_events_url":"https://api.github.com/users/bencaradocdavies/received_events","type":"User","site_admin":false},"body":"Spaces around operators.","created_at":"2015-11-28T00:51:38Z","updated_at":"2015-11-28T00:51:38Z","html_url":"https://github.com/geoserver/geoserver/pull/1346#discussion_r46074117","pull_request_url":"https://api.github.com/repos/geoserver/geoserver/pulls/1346","_links":{"self":{"href":"https://api.github.com/repos/geoserver/geoserver/pulls/comments/46074117"},"html":{"href":"https://github.com/geoserver/geoserver/pull/1346#discussion_r46074117"},"pull_request":{"href":"https://api.github.com/repos/geoserver/geoserver/pulls/1346"}}},"pull_request":{"url":"https://api.github.com/repos/geoserver/geoserver/pulls/1346","id":51506991,"html_url":"https://github.com/geoserver/geoserver/pull/1346","diff_url":"https://github.com/geoserver/geoserver/pull/1346.diff","patch_url":"https://github.com/geoserver/geoserver/pull/1346.patch","issue_url":"https://api.github.com/repos/geoserver/geoserver/issues/1346","number":1346,"state":"open","locked":false,"title":"File system to resource store","user":{"login":"NielsCharlier","id":1906115,"avatar_url":"https://avatars.githubusercontent.com/u/1906115?v=3","gravatar_id":"","url":"https://api.github.com/users/NielsCharlier","html_url":"https://github.com/NielsCharlier","followers_url":"https://api.github.com/users/NielsCharlier/followers","following_url":"https://api.github.com/users/NielsCharlier/following{/other_user}","gists_url":"https://api.github.com/users/NielsCharlier/gists{/gist_id}","starred_url":"https://api.github.com/users/NielsCharlier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NielsCharlier/subscriptions","organizations_url":"https://api.github.com/users/NielsCharlier/orgs","repos_url":"https://api.github.com/users/NielsCharlier/repos","events_url":"https://api.github.com/users/NielsCharlier/events{/privacy}","received_events_url":"https://api.github.com/users/NielsCharlier/received_events","type":"User","site_admin":false},"body":"Depends on https://github.com/GeoWebCache/geowebcache/pull/354","created_at":"2015-11-23T10:34:57Z","updated_at":"2015-11-28T00:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d48d20d1c8228b5a59e31cf45baf2246949b868","assignee":{"login":"bencaradocdavies","id":1900866,"avatar_url":"https://avatars.githubusercontent.com/u/1900866?v=3","gravatar_id":"","url":"https://api.github.com/users/bencaradocdavies","html_url":"https://github.com/bencaradocdavies","followers_url":"https://api.github.com/users/bencaradocdavies/followers","following_url":"https://api.github.com/users/bencaradocdavies/following{/other_user}","gists_url":"https://api.github.com/users/bencaradocdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/bencaradocdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bencaradocdavies/subscriptions","organizations_url":"https://api.github.com/users/bencaradocdavies/orgs","repos_url":"https://api.github.com/users/bencaradocdavies/repos","events_url":"https://api.github.com/users/bencaradocdavies/events{/privacy}","received_events_url":"https://api.github.com/users/bencaradocdavies/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/geoserver/geoserver/pulls/1346/commits","review_comments_url":"https://api.github.com/repos/geoserver/geoserver/pulls/1346/comments","review_comment_url":"https://api.github.com/repos/geoserver/geoserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geoserver/geoserver/issues/1346/comments","statuses_url":"https://api.github.com/repos/geoserver/geoserver/statuses/ffbbadbb07060cc13e233d46585c99de19bca7cb","head":{"label":"NielsCharlier:file_system_to_resource_store","ref":"file_system_to_resource_store","sha":"ffbbadbb07060cc13e233d46585c99de19bca7cb","user":{"login":"NielsCharlier","id":1906115,"avatar_url":"https://avatars.githubusercontent.com/u/1906115?v=3","gravatar_id":"","url":"https://api.github.com/users/NielsCharlier","html_url":"https://github.com/NielsCharlier","followers_url":"https://api.github.com/users/NielsCharlier/followers","following_url":"https://api.github.com/users/NielsCharlier/following{/other_user}","gists_url":"https://api.github.com/users/NielsCharlier/gists{/gist_id}","starred_url":"https://api.github.com/users/NielsCharlier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NielsCharlier/subscriptions","organizations_url":"https://api.github.com/users/NielsCharlier/orgs","repos_url":"https://api.github.com/users/NielsCharlier/repos","events_url":"https://api.github.com/users/NielsCharlier/events{/privacy}","received_events_url":"https://api.github.com/users/NielsCharlier/received_events","type":"User","site_admin":false},"repo":{"id":5855205,"name":"geoserver","full_name":"NielsCharlier/geoserver","owner":{"login":"NielsCharlier","id":1906115,"avatar_url":"https://avatars.githubusercontent.com/u/1906115?v=3","gravatar_id":"","url":"https://api.github.com/users/NielsCharlier","html_url":"https://github.com/NielsCharlier","followers_url":"https://api.github.com/users/NielsCharlier/followers","following_url":"https://api.github.com/users/NielsCharlier/following{/other_user}","gists_url":"https://api.github.com/users/NielsCharlier/gists{/gist_id}","starred_url":"https://api.github.com/users/NielsCharlier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NielsCharlier/subscriptions","organizations_url":"https://api.github.com/users/NielsCharlier/orgs","repos_url":"https://api.github.com/users/NielsCharlier/repos","events_url":"https://api.github.com/users/NielsCharlier/events{/privacy}","received_events_url":"https://api.github.com/users/NielsCharlier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NielsCharlier/geoserver","description":"Official GeoServer repository","fork":true,"url":"https://api.github.com/repos/NielsCharlier/geoserver","forks_url":"https://api.github.com/repos/NielsCharlier/geoserver/forks","keys_url":"https://api.github.com/repos/NielsCharlier/geoserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NielsCharlier/geoserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NielsCharlier/geoserver/teams","hooks_url":"https://api.github.com/repos/NielsCharlier/geoserver/hooks","issue_events_url":"https://api.github.com/repos/NielsCharlier/geoserver/issues/events{/number}","events_url":"https://api.github.com/repos/NielsCharlier/geoserver/events","assignees_url":"https://api.github.com/repos/NielsCharlier/geoserver/assignees{/user}","branches_url":"https://api.github.com/repos/NielsCharlier/geoserver/branches{/branch}","tags_url":"https://api.github.com/repos/NielsCharlier/geoserver/tags","blobs_url":"https://api.github.com/repos/NielsCharlier/geoserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NielsCharlier/geoserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NielsCharlier/geoserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/NielsCharlier/geoserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NielsCharlier/geoserver/statuses/{sha}","languages_url":"https://api.github.com/repos/NielsCharlier/geoserver/languages","stargazers_url":"https://api.github.com/repos/NielsCharlier/geoserver/stargazers","contributors_url":"https://api.github.com/repos/NielsCharlier/geoserver/contributors","subscribers_url":"https://api.github.com/repos/NielsCharlier/geoserver/subscribers","subscription_url":"https://api.github.com/repos/NielsCharlier/geoserver/subscription","commits_url":"https://api.github.com/repos/NielsCharlier/geoserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/NielsCharlier/geoserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/NielsCharlier/geoserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/NielsCharlier/geoserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/NielsCharlier/geoserver/contents/{+path}","compare_url":"https://api.github.com/repos/NielsCharlier/geoserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NielsCharlier/geoserver/merges","archive_url":"https://api.github.com/repos/NielsCharlier/geoserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NielsCharlier/geoserver/downloads","issues_url":"https://api.github.com/repos/NielsCharlier/geoserver/issues{/number}","pulls_url":"https://api.github.com/repos/NielsCharlier/geoserver/pulls{/number}","milestones_url":"https://api.github.com/repos/NielsCharlier/geoserver/milestones{/number}","notifications_url":"https://api.github.com/repos/NielsCharlier/geoserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NielsCharlier/geoserver/labels{/name}","releases_url":"https://api.github.com/repos/NielsCharlier/geoserver/releases{/id}","created_at":"2012-09-18T11:22:31Z","updated_at":"2015-05-06T03:50:14Z","pushed_at":"2015-11-27T08:26:17Z","git_url":"git://github.com/NielsCharlier/geoserver.git","ssh_url":"git@github.com:NielsCharlier/geoserver.git","clone_url":"https://github.com/NielsCharlier/geoserver.git","svn_url":"https://github.com/NielsCharlier/geoserver","homepage":"http://geoserver.org","size":124085,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"geoserver:master","ref":"master","sha":"6d62b29611af8ecc4de74d67ac9e972bf0746656","user":{"login":"geoserver","id":186522,"avatar_url":"https://avatars.githubusercontent.com/u/186522?v=3","gravatar_id":"","url":"https://api.github.com/users/geoserver","html_url":"https://github.com/geoserver","followers_url":"https://api.github.com/users/geoserver/followers","following_url":"https://api.github.com/users/geoserver/following{/other_user}","gists_url":"https://api.github.com/users/geoserver/gists{/gist_id}","starred_url":"https://api.github.com/users/geoserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoserver/subscriptions","organizations_url":"https://api.github.com/users/geoserver/orgs","repos_url":"https://api.github.com/users/geoserver/repos","events_url":"https://api.github.com/users/geoserver/events{/privacy}","received_events_url":"https://api.github.com/users/geoserver/received_events","type":"Organization","site_admin":false},"repo":{"id":2751199,"name":"geoserver","full_name":"geoserver/geoserver","owner":{"login":"geoserver","id":186522,"avatar_url":"https://avatars.githubusercontent.com/u/186522?v=3","gravatar_id":"","url":"https://api.github.com/users/geoserver","html_url":"https://github.com/geoserver","followers_url":"https://api.github.com/users/geoserver/followers","following_url":"https://api.github.com/users/geoserver/following{/other_user}","gists_url":"https://api.github.com/users/geoserver/gists{/gist_id}","starred_url":"https://api.github.com/users/geoserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoserver/subscriptions","organizations_url":"https://api.github.com/users/geoserver/orgs","repos_url":"https://api.github.com/users/geoserver/repos","events_url":"https://api.github.com/users/geoserver/events{/privacy}","received_events_url":"https://api.github.com/users/geoserver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geoserver/geoserver","description":"Official GeoServer repository","fork":false,"url":"https://api.github.com/repos/geoserver/geoserver","forks_url":"https://api.github.com/repos/geoserver/geoserver/forks","keys_url":"https://api.github.com/repos/geoserver/geoserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geoserver/geoserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geoserver/geoserver/teams","hooks_url":"https://api.github.com/repos/geoserver/geoserver/hooks","issue_events_url":"https://api.github.com/repos/geoserver/geoserver/issues/events{/number}","events_url":"https://api.github.com/repos/geoserver/geoserver/events","assignees_url":"https://api.github.com/repos/geoserver/geoserver/assignees{/user}","branches_url":"https://api.github.com/repos/geoserver/geoserver/branches{/branch}","tags_url":"https://api.github.com/repos/geoserver/geoserver/tags","blobs_url":"https://api.github.com/repos/geoserver/geoserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geoserver/geoserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geoserver/geoserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/geoserver/geoserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geoserver/geoserver/statuses/{sha}","languages_url":"https://api.github.com/repos/geoserver/geoserver/languages","stargazers_url":"https://api.github.com/repos/geoserver/geoserver/stargazers","contributors_url":"https://api.github.com/repos/geoserver/geoserver/contributors","subscribers_url":"https://api.github.com/repos/geoserver/geoserver/subscribers","subscription_url":"https://api.github.com/repos/geoserver/geoserver/subscription","commits_url":"https://api.github.com/repos/geoserver/geoserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/geoserver/geoserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/geoserver/geoserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/geoserver/geoserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/geoserver/geoserver/contents/{+path}","compare_url":"https://api.github.com/repos/geoserver/geoserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geoserver/geoserver/merges","archive_url":"https://api.github.com/repos/geoserver/geoserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geoserver/geoserver/downloads","issues_url":"https://api.github.com/repos/geoserver/geoserver/issues{/number}","pulls_url":"https://api.github.com/repos/geoserver/geoserver/pulls{/number}","milestones_url":"https://api.github.com/repos/geoserver/geoserver/milestones{/number}","notifications_url":"https://api.github.com/repos/geoserver/geoserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geoserver/geoserver/labels{/name}","releases_url":"https://api.github.com/repos/geoserver/geoserver/releases{/id}","created_at":"2011-11-10T19:56:06Z","updated_at":"2015-11-27T12:36:26Z","pushed_at":"2015-11-27T09:54:05Z","git_url":"git://github.com/geoserver/geoserver.git","ssh_url":"git@github.com:geoserver/geoserver.git","clone_url":"https://github.com/geoserver/geoserver.git","svn_url":"https://github.com/geoserver/geoserver","homepage":"http://geoserver.org","size":134229,"stargazers_count":508,"watchers_count":508,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":594,"mirror_url":null,"open_issues_count":21,"forks":594,"open_issues":21,"watchers":508,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geoserver/geoserver/pulls/1346"},"html":{"href":"https://github.com/geoserver/geoserver/pull/1346"},"issue":{"href":"https://api.github.com/repos/geoserver/geoserver/issues/1346"},"comments":{"href":"https://api.github.com/repos/geoserver/geoserver/issues/1346/comments"},"review_comments":{"href":"https://api.github.com/repos/geoserver/geoserver/pulls/1346/comments"},"review_comment":{"href":"https://api.github.com/repos/geoserver/geoserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geoserver/geoserver/pulls/1346/commits"},"statuses":{"href":"https://api.github.com/repos/geoserver/geoserver/statuses/ffbbadbb07060cc13e233d46585c99de19bca7cb"}}}}