{"action":"created","comment":{"url":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments/35655364","id":35655364,"diff_hunk":"@@ -0,0 +1,57 @@\n+/*\n+ * Copyright Terracotta, Inc.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.ehcache.jsr107;\n+\n+import org.ehcache.spi.serialization.Serializer;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import java.io.IOException;\n+import java.nio.ByteBuffer;\n+import java.nio.charset.Charset;\n+\n+/**\n+ * @author rism\n+ */\n+public class LongSerializer implements Serializer<Long> {\n+  private static final Logger LOG = LoggerFactory.getLogger(LongSerializer.class);\n+  private static final Charset CHARSET = Charset.forName(\"US-ASCII\");\n+\n+  public LongSerializer(ClassLoader classLoader) {\n+  }\n+\n+  @Override\n+  public ByteBuffer serialize(Long object) throws IOException {\n+    LOG.info(\"serializing {}\", object);","path":"107/src/test/java/org/ehcache/jsr107/LongSerializer.java","position":38,"original_position":38,"commit_id":"d59c986c8a3552913dd1e2d8ea1075b43a8859a9","original_commit_id":"d59c986c8a3552913dd1e2d8ea1075b43a8859a9","user":{"login":"chrisdennis","id":954331,"avatar_url":"https://avatars.githubusercontent.com/u/954331?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdennis","html_url":"https://github.com/chrisdennis","followers_url":"https://api.github.com/users/chrisdennis/followers","following_url":"https://api.github.com/users/chrisdennis/following{/other_user}","gists_url":"https://api.github.com/users/chrisdennis/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdennis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdennis/subscriptions","organizations_url":"https://api.github.com/users/chrisdennis/orgs","repos_url":"https://api.github.com/users/chrisdennis/repos","events_url":"https://api.github.com/users/chrisdennis/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdennis/received_events","type":"User","site_admin":false},"body":"No need to log here.","created_at":"2015-07-28T14:45:02Z","updated_at":"2015-07-28T14:45:02Z","html_url":"https://github.com/ehcache/ehcache3/pull/485#discussion_r35655364","pull_request_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/485","_links":{"self":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments/35655364"},"html":{"href":"https://github.com/ehcache/ehcache3/pull/485#discussion_r35655364"},"pull_request":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/485"}}},"pull_request":{"url":"https://api.github.com/repos/ehcache/ehcache3/pulls/485","id":41013598,"html_url":"https://github.com/ehcache/ehcache3/pull/485","diff_url":"https://github.com/ehcache/ehcache3/pull/485.diff","patch_url":"https://github.com/ehcache/ehcache3/pull/485.patch","issue_url":"https://api.github.com/repos/ehcache/ehcache3/issues/485","number":485,"state":"open","locked":false,"title":"Issue #458 : Fixing serializer for JSR107","user":{"login":"rishabhmonga","id":5559330,"avatar_url":"https://avatars.githubusercontent.com/u/5559330?v=3","gravatar_id":"","url":"https://api.github.com/users/rishabhmonga","html_url":"https://github.com/rishabhmonga","followers_url":"https://api.github.com/users/rishabhmonga/followers","following_url":"https://api.github.com/users/rishabhmonga/following{/other_user}","gists_url":"https://api.github.com/users/rishabhmonga/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabhmonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabhmonga/subscriptions","organizations_url":"https://api.github.com/users/rishabhmonga/orgs","repos_url":"https://api.github.com/users/rishabhmonga/repos","events_url":"https://api.github.com/users/rishabhmonga/events{/privacy}","received_events_url":"https://api.github.com/users/rishabhmonga/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-28T13:53:08Z","updated_at":"2015-07-28T14:45:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a871c66ba5d30fd80487078635caa39b355a575a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/485/commits","review_comments_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/485/comments","review_comment_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ehcache/ehcache3/issues/485/comments","statuses_url":"https://api.github.com/repos/ehcache/ehcache3/statuses/d59c986c8a3552913dd1e2d8ea1075b43a8859a9","head":{"label":"rishabhmonga:issue-458","ref":"issue-458","sha":"d59c986c8a3552913dd1e2d8ea1075b43a8859a9","user":{"login":"rishabhmonga","id":5559330,"avatar_url":"https://avatars.githubusercontent.com/u/5559330?v=3","gravatar_id":"","url":"https://api.github.com/users/rishabhmonga","html_url":"https://github.com/rishabhmonga","followers_url":"https://api.github.com/users/rishabhmonga/followers","following_url":"https://api.github.com/users/rishabhmonga/following{/other_user}","gists_url":"https://api.github.com/users/rishabhmonga/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabhmonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabhmonga/subscriptions","organizations_url":"https://api.github.com/users/rishabhmonga/orgs","repos_url":"https://api.github.com/users/rishabhmonga/repos","events_url":"https://api.github.com/users/rishabhmonga/events{/privacy}","received_events_url":"https://api.github.com/users/rishabhmonga/received_events","type":"User","site_admin":false},"repo":{"id":28446020,"name":"ehcache3","full_name":"rishabhmonga/ehcache3","owner":{"login":"rishabhmonga","id":5559330,"avatar_url":"https://avatars.githubusercontent.com/u/5559330?v=3","gravatar_id":"","url":"https://api.github.com/users/rishabhmonga","html_url":"https://github.com/rishabhmonga","followers_url":"https://api.github.com/users/rishabhmonga/followers","following_url":"https://api.github.com/users/rishabhmonga/following{/other_user}","gists_url":"https://api.github.com/users/rishabhmonga/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabhmonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabhmonga/subscriptions","organizations_url":"https://api.github.com/users/rishabhmonga/orgs","repos_url":"https://api.github.com/users/rishabhmonga/repos","events_url":"https://api.github.com/users/rishabhmonga/events{/privacy}","received_events_url":"https://api.github.com/users/rishabhmonga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rishabhmonga/ehcache3","description":"Ehcache 3.x line ","fork":true,"url":"https://api.github.com/repos/rishabhmonga/ehcache3","forks_url":"https://api.github.com/repos/rishabhmonga/ehcache3/forks","keys_url":"https://api.github.com/repos/rishabhmonga/ehcache3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rishabhmonga/ehcache3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rishabhmonga/ehcache3/teams","hooks_url":"https://api.github.com/repos/rishabhmonga/ehcache3/hooks","issue_events_url":"https://api.github.com/repos/rishabhmonga/ehcache3/issues/events{/number}","events_url":"https://api.github.com/repos/rishabhmonga/ehcache3/events","assignees_url":"https://api.github.com/repos/rishabhmonga/ehcache3/assignees{/user}","branches_url":"https://api.github.com/repos/rishabhmonga/ehcache3/branches{/branch}","tags_url":"https://api.github.com/repos/rishabhmonga/ehcache3/tags","blobs_url":"https://api.github.com/repos/rishabhmonga/ehcache3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rishabhmonga/ehcache3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rishabhmonga/ehcache3/git/refs{/sha}","trees_url":"https://api.github.com/repos/rishabhmonga/ehcache3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rishabhmonga/ehcache3/statuses/{sha}","languages_url":"https://api.github.com/repos/rishabhmonga/ehcache3/languages","stargazers_url":"https://api.github.com/repos/rishabhmonga/ehcache3/stargazers","contributors_url":"https://api.github.com/repos/rishabhmonga/ehcache3/contributors","subscribers_url":"https://api.github.com/repos/rishabhmonga/ehcache3/subscribers","subscription_url":"https://api.github.com/repos/rishabhmonga/ehcache3/subscription","commits_url":"https://api.github.com/repos/rishabhmonga/ehcache3/commits{/sha}","git_commits_url":"https://api.github.com/repos/rishabhmonga/ehcache3/git/commits{/sha}","comments_url":"https://api.github.com/repos/rishabhmonga/ehcache3/comments{/number}","issue_comment_url":"https://api.github.com/repos/rishabhmonga/ehcache3/issues/comments{/number}","contents_url":"https://api.github.com/repos/rishabhmonga/ehcache3/contents/{+path}","compare_url":"https://api.github.com/repos/rishabhmonga/ehcache3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rishabhmonga/ehcache3/merges","archive_url":"https://api.github.com/repos/rishabhmonga/ehcache3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rishabhmonga/ehcache3/downloads","issues_url":"https://api.github.com/repos/rishabhmonga/ehcache3/issues{/number}","pulls_url":"https://api.github.com/repos/rishabhmonga/ehcache3/pulls{/number}","milestones_url":"https://api.github.com/repos/rishabhmonga/ehcache3/milestones{/number}","notifications_url":"https://api.github.com/repos/rishabhmonga/ehcache3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rishabhmonga/ehcache3/labels{/name}","releases_url":"https://api.github.com/repos/rishabhmonga/ehcache3/releases{/id}","created_at":"2014-12-24T10:47:43Z","updated_at":"2015-05-08T11:30:17Z","pushed_at":"2015-07-28T13:52:08Z","git_url":"git://github.com/rishabhmonga/ehcache3.git","ssh_url":"git@github.com:rishabhmonga/ehcache3.git","clone_url":"https://github.com/rishabhmonga/ehcache3.git","svn_url":"https://github.com/rishabhmonga/ehcache3","homepage":"ehcache.org","size":4029,"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":"ehcache:master","ref":"master","sha":"94b822a49122cdeb357527a344fca11ade4f4d25","user":{"login":"ehcache","id":5504982,"avatar_url":"https://avatars.githubusercontent.com/u/5504982?v=3","gravatar_id":"","url":"https://api.github.com/users/ehcache","html_url":"https://github.com/ehcache","followers_url":"https://api.github.com/users/ehcache/followers","following_url":"https://api.github.com/users/ehcache/following{/other_user}","gists_url":"https://api.github.com/users/ehcache/gists{/gist_id}","starred_url":"https://api.github.com/users/ehcache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehcache/subscriptions","organizations_url":"https://api.github.com/users/ehcache/orgs","repos_url":"https://api.github.com/users/ehcache/repos","events_url":"https://api.github.com/users/ehcache/events{/privacy}","received_events_url":"https://api.github.com/users/ehcache/received_events","type":"Organization","site_admin":false},"repo":{"id":17224514,"name":"ehcache3","full_name":"ehcache/ehcache3","owner":{"login":"ehcache","id":5504982,"avatar_url":"https://avatars.githubusercontent.com/u/5504982?v=3","gravatar_id":"","url":"https://api.github.com/users/ehcache","html_url":"https://github.com/ehcache","followers_url":"https://api.github.com/users/ehcache/followers","following_url":"https://api.github.com/users/ehcache/following{/other_user}","gists_url":"https://api.github.com/users/ehcache/gists{/gist_id}","starred_url":"https://api.github.com/users/ehcache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehcache/subscriptions","organizations_url":"https://api.github.com/users/ehcache/orgs","repos_url":"https://api.github.com/users/ehcache/repos","events_url":"https://api.github.com/users/ehcache/events{/privacy}","received_events_url":"https://api.github.com/users/ehcache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ehcache/ehcache3","description":"Ehcache 3.x line ","fork":false,"url":"https://api.github.com/repos/ehcache/ehcache3","forks_url":"https://api.github.com/repos/ehcache/ehcache3/forks","keys_url":"https://api.github.com/repos/ehcache/ehcache3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehcache/ehcache3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehcache/ehcache3/teams","hooks_url":"https://api.github.com/repos/ehcache/ehcache3/hooks","issue_events_url":"https://api.github.com/repos/ehcache/ehcache3/issues/events{/number}","events_url":"https://api.github.com/repos/ehcache/ehcache3/events","assignees_url":"https://api.github.com/repos/ehcache/ehcache3/assignees{/user}","branches_url":"https://api.github.com/repos/ehcache/ehcache3/branches{/branch}","tags_url":"https://api.github.com/repos/ehcache/ehcache3/tags","blobs_url":"https://api.github.com/repos/ehcache/ehcache3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehcache/ehcache3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehcache/ehcache3/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehcache/ehcache3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehcache/ehcache3/statuses/{sha}","languages_url":"https://api.github.com/repos/ehcache/ehcache3/languages","stargazers_url":"https://api.github.com/repos/ehcache/ehcache3/stargazers","contributors_url":"https://api.github.com/repos/ehcache/ehcache3/contributors","subscribers_url":"https://api.github.com/repos/ehcache/ehcache3/subscribers","subscription_url":"https://api.github.com/repos/ehcache/ehcache3/subscription","commits_url":"https://api.github.com/repos/ehcache/ehcache3/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehcache/ehcache3/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehcache/ehcache3/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehcache/ehcache3/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehcache/ehcache3/contents/{+path}","compare_url":"https://api.github.com/repos/ehcache/ehcache3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehcache/ehcache3/merges","archive_url":"https://api.github.com/repos/ehcache/ehcache3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehcache/ehcache3/downloads","issues_url":"https://api.github.com/repos/ehcache/ehcache3/issues{/number}","pulls_url":"https://api.github.com/repos/ehcache/ehcache3/pulls{/number}","milestones_url":"https://api.github.com/repos/ehcache/ehcache3/milestones{/number}","notifications_url":"https://api.github.com/repos/ehcache/ehcache3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehcache/ehcache3/labels{/name}","releases_url":"https://api.github.com/repos/ehcache/ehcache3/releases{/id}","created_at":"2014-02-26T20:39:16Z","updated_at":"2015-07-23T01:56:23Z","pushed_at":"2015-07-28T13:53:08Z","git_url":"git://github.com/ehcache/ehcache3.git","ssh_url":"git@github.com:ehcache/ehcache3.git","clone_url":"https://github.com/ehcache/ehcache3.git","svn_url":"https://github.com/ehcache/ehcache3","homepage":"ehcache.org","size":6773,"stargazers_count":131,"watchers_count":131,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":55,"forks":91,"open_issues":55,"watchers":131,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/485"},"html":{"href":"https://github.com/ehcache/ehcache3/pull/485"},"issue":{"href":"https://api.github.com/repos/ehcache/ehcache3/issues/485"},"comments":{"href":"https://api.github.com/repos/ehcache/ehcache3/issues/485/comments"},"review_comments":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/485/comments"},"review_comment":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/485/commits"},"statuses":{"href":"https://api.github.com/repos/ehcache/ehcache3/statuses/d59c986c8a3552913dd1e2d8ea1075b43a8859a9"}}}}