{"action":"created","comment":{"url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/comments/35959772","id":35959772,"diff_hunk":"@@ -0,0 +1,170 @@\n+package com.fortysevendeg.android.sqlite.statement\n+\n+import java.sql.SQLException\n+import com.fortysevendeg.android.sqlite._\n+import TypeTransformers._\n+\n+import scala.collection.mutable\n+\n+trait StatementArguments {\n+\n+  def toStringArray: scala.Array[String] = scala.Array.empty\n+\n+  def toArray: scala.Array[AnyRef] = scala.Array.empty\n+\n+}\n+\n+class PreparedStatementArguments extends StatementArguments {\n+\n+  private[this] var argumentsList: NonEmptyList[mutable.Map[Int, AnyRef]] = NonEmptyList(mutable.Map.empty)\n+\n+  // Prepared statements count from 1\n+  private[this] var maxIndex: Int = 1","path":"src/main/scala/com/fortysevendeg/android/sqlite/statement/StatementArguments.scala","position":22,"original_position":22,"commit_id":"70e5e17aa694f4a22fcb112849abe72f688b60ec","original_commit_id":"70e5e17aa694f4a22fcb112849abe72f688b60ec","user":{"login":"47degci","id":11942178,"avatar_url":"https://avatars.githubusercontent.com/u/11942178?v=3","gravatar_id":"","url":"https://api.github.com/users/47degci","html_url":"https://github.com/47degci","followers_url":"https://api.github.com/users/47degci/followers","following_url":"https://api.github.com/users/47degci/following{/other_user}","gists_url":"https://api.github.com/users/47degci/gists{/gist_id}","starred_url":"https://api.github.com/users/47degci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/47degci/subscriptions","organizations_url":"https://api.github.com/users/47degci/orgs","repos_url":"https://api.github.com/users/47degci/repos","events_url":"https://api.github.com/users/47degci/events{/privacy}","received_events_url":"https://api.github.com/users/47degci/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/versioned/images/favicon.png) Issue found: [Avoid mutable fields](https://www.codacy.com/app/47deg/scala-sqlite-droid/file/821582812/issues/source?bid=2442814&fileBranchId=2752104#l22)","created_at":"2015-07-31T09:41:33Z","updated_at":"2015-07-31T09:41:33Z","html_url":"https://github.com/47deg/scala-sqlite-droid/pull/10#discussion_r35959772","pull_request_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/comments/35959772"},"html":{"href":"https://github.com/47deg/scala-sqlite-droid/pull/10#discussion_r35959772"},"pull_request":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10","id":41323031,"html_url":"https://github.com/47deg/scala-sqlite-droid/pull/10","diff_url":"https://github.com/47deg/scala-sqlite-droid/pull/10.diff","patch_url":"https://github.com/47deg/scala-sqlite-droid/pull/10.patch","issue_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/10","number":10,"state":"open","locked":false,"title":"SQL Prepared Statement","user":{"login":"fedefernandez","id":720923,"avatar_url":"https://avatars.githubusercontent.com/u/720923?v=3","gravatar_id":"","url":"https://api.github.com/users/fedefernandez","html_url":"https://github.com/fedefernandez","followers_url":"https://api.github.com/users/fedefernandez/followers","following_url":"https://api.github.com/users/fedefernandez/following{/other_user}","gists_url":"https://api.github.com/users/fedefernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/fedefernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedefernandez/subscriptions","organizations_url":"https://api.github.com/users/fedefernandez/orgs","repos_url":"https://api.github.com/users/fedefernandez/repos","events_url":"https://api.github.com/users/fedefernandez/events{/privacy}","received_events_url":"https://api.github.com/users/fedefernandez/received_events","type":"User","site_admin":false},"body":"Adds the prepared statement implementation\r\n\r\nAlso removes the unnecessary Java files\r\n\r\nPlease @juanpedromoreno could you review? Thanks","created_at":"2015-07-31T09:40:28Z","updated_at":"2015-07-31T09:41:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df3713786a4fc5ac1ee6031c0bd9e0d433f7b64c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10/commits","review_comments_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10/comments","review_comment_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/10/comments","statuses_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/statuses/70e5e17aa694f4a22fcb112849abe72f688b60ec","head":{"label":"47deg:fede-sql-prepared-statement","ref":"fede-sql-prepared-statement","sha":"70e5e17aa694f4a22fcb112849abe72f688b60ec","user":{"login":"47deg","id":479857,"avatar_url":"https://avatars.githubusercontent.com/u/479857?v=3","gravatar_id":"","url":"https://api.github.com/users/47deg","html_url":"https://github.com/47deg","followers_url":"https://api.github.com/users/47deg/followers","following_url":"https://api.github.com/users/47deg/following{/other_user}","gists_url":"https://api.github.com/users/47deg/gists{/gist_id}","starred_url":"https://api.github.com/users/47deg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/47deg/subscriptions","organizations_url":"https://api.github.com/users/47deg/orgs","repos_url":"https://api.github.com/users/47deg/repos","events_url":"https://api.github.com/users/47deg/events{/privacy}","received_events_url":"https://api.github.com/users/47deg/received_events","type":"Organization","site_admin":false},"repo":{"id":37643527,"name":"scala-sqlite-droid","full_name":"47deg/scala-sqlite-droid","owner":{"login":"47deg","id":479857,"avatar_url":"https://avatars.githubusercontent.com/u/479857?v=3","gravatar_id":"","url":"https://api.github.com/users/47deg","html_url":"https://github.com/47deg","followers_url":"https://api.github.com/users/47deg/followers","following_url":"https://api.github.com/users/47deg/following{/other_user}","gists_url":"https://api.github.com/users/47deg/gists{/gist_id}","starred_url":"https://api.github.com/users/47deg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/47deg/subscriptions","organizations_url":"https://api.github.com/users/47deg/orgs","repos_url":"https://api.github.com/users/47deg/repos","events_url":"https://api.github.com/users/47deg/events{/privacy}","received_events_url":"https://api.github.com/users/47deg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/47deg/scala-sqlite-droid","description":"SQLite JDBC Driver for Android in Scala","fork":false,"url":"https://api.github.com/repos/47deg/scala-sqlite-droid","forks_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/forks","keys_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/teams","hooks_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/hooks","issue_events_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/events{/number}","events_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/events","assignees_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/assignees{/user}","branches_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/branches{/branch}","tags_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/tags","blobs_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/refs{/sha}","trees_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/statuses/{sha}","languages_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/languages","stargazers_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/stargazers","contributors_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/contributors","subscribers_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/subscribers","subscription_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/subscription","commits_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/commits{/sha}","git_commits_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/commits{/sha}","comments_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/comments{/number}","issue_comment_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/comments{/number}","contents_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/contents/{+path}","compare_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/merges","archive_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/downloads","issues_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues{/number}","pulls_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls{/number}","milestones_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/milestones{/number}","notifications_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/labels{/name}","releases_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/releases{/id}","created_at":"2015-06-18T07:08:05Z","updated_at":"2015-07-15T21:45:33Z","pushed_at":"2015-07-31T09:40:28Z","git_url":"git://github.com/47deg/scala-sqlite-droid.git","ssh_url":"git@github.com:47deg/scala-sqlite-droid.git","clone_url":"https://github.com/47deg/scala-sqlite-droid.git","svn_url":"https://github.com/47deg/scala-sqlite-droid","homepage":null,"size":19644,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"47deg:master","ref":"master","sha":"bd72d9a45e89fee86364723c8492c262eca96b9d","user":{"login":"47deg","id":479857,"avatar_url":"https://avatars.githubusercontent.com/u/479857?v=3","gravatar_id":"","url":"https://api.github.com/users/47deg","html_url":"https://github.com/47deg","followers_url":"https://api.github.com/users/47deg/followers","following_url":"https://api.github.com/users/47deg/following{/other_user}","gists_url":"https://api.github.com/users/47deg/gists{/gist_id}","starred_url":"https://api.github.com/users/47deg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/47deg/subscriptions","organizations_url":"https://api.github.com/users/47deg/orgs","repos_url":"https://api.github.com/users/47deg/repos","events_url":"https://api.github.com/users/47deg/events{/privacy}","received_events_url":"https://api.github.com/users/47deg/received_events","type":"Organization","site_admin":false},"repo":{"id":37643527,"name":"scala-sqlite-droid","full_name":"47deg/scala-sqlite-droid","owner":{"login":"47deg","id":479857,"avatar_url":"https://avatars.githubusercontent.com/u/479857?v=3","gravatar_id":"","url":"https://api.github.com/users/47deg","html_url":"https://github.com/47deg","followers_url":"https://api.github.com/users/47deg/followers","following_url":"https://api.github.com/users/47deg/following{/other_user}","gists_url":"https://api.github.com/users/47deg/gists{/gist_id}","starred_url":"https://api.github.com/users/47deg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/47deg/subscriptions","organizations_url":"https://api.github.com/users/47deg/orgs","repos_url":"https://api.github.com/users/47deg/repos","events_url":"https://api.github.com/users/47deg/events{/privacy}","received_events_url":"https://api.github.com/users/47deg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/47deg/scala-sqlite-droid","description":"SQLite JDBC Driver for Android in Scala","fork":false,"url":"https://api.github.com/repos/47deg/scala-sqlite-droid","forks_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/forks","keys_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/teams","hooks_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/hooks","issue_events_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/events{/number}","events_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/events","assignees_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/assignees{/user}","branches_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/branches{/branch}","tags_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/tags","blobs_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/refs{/sha}","trees_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/statuses/{sha}","languages_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/languages","stargazers_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/stargazers","contributors_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/contributors","subscribers_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/subscribers","subscription_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/subscription","commits_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/commits{/sha}","git_commits_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/git/commits{/sha}","comments_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/comments{/number}","issue_comment_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/comments{/number}","contents_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/contents/{+path}","compare_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/merges","archive_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/downloads","issues_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues{/number}","pulls_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls{/number}","milestones_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/milestones{/number}","notifications_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/labels{/name}","releases_url":"https://api.github.com/repos/47deg/scala-sqlite-droid/releases{/id}","created_at":"2015-06-18T07:08:05Z","updated_at":"2015-07-15T21:45:33Z","pushed_at":"2015-07-31T09:40:28Z","git_url":"git://github.com/47deg/scala-sqlite-droid.git","ssh_url":"git@github.com:47deg/scala-sqlite-droid.git","clone_url":"https://github.com/47deg/scala-sqlite-droid.git","svn_url":"https://github.com/47deg/scala-sqlite-droid","homepage":null,"size":19644,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10"},"html":{"href":"https://github.com/47deg/scala-sqlite-droid/pull/10"},"issue":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/10"},"comments":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/47deg/scala-sqlite-droid/statuses/70e5e17aa694f4a22fcb112849abe72f688b60ec"}}}}