GitHub PullRequestReviewCommentEvent at 2014-01-25 11:49:39
Repository: td-android-sdk
Actor: komamitsu
Payload: {"comment":{"url":"https://api.github.com/repos/treasure-data/td-android-sdk/pulls/comments/9171219","id":9171219,"diff_hunk":"@@ -0,0 +1,66 @@\n+package com.treasure_data.androidsdk.apiclient;\n+\n+import java.security.InvalidParameterException;\n+\n+import android.os.Parcel;\n+import android.os.Parcelable;\n+\n+public class DbLogTableDescr extends DbTableDescr {\n+    private String mTimeColumnName;\n+\n+    public DbLogTableDescr(String dbName, String tableName,\n+                              String timeColumName) {\n+        super(dbName, tableName, DbTableDescr.TABLE_TYPE_LOG);\n+        mTimeColumnName = timeColumName;\n+    }\n+\n+    // assigns mTimeColumnName to default 'time'\n+    public DbLogTableDescr(String dbName, String tableName) {\n+        super(dbName, tableName, DbTableDescr.TABLE_TYPE_LOG);\n+        mTimeColumnName = \"time\";\n+    }\n+\n+    // assigns mTimeColumnName to default 'time'. Reads database and table\n+    //  names from the String array. Checks if there at least 2 elements in\n+    //  the array before proceeding.\n+    public DbLogTableDescr(String[] dbTable)\n+            throws InvalidParameterException {\n+        super(dbTable[0], dbTable[1], DbTableDescr.TABLE_TYPE_LOG);\n+        mTimeColumnName = \"time\";\n+    }\n+\n+    public String toString() {\n+        return (mDbName + \"#\" + mTableName + \"(log,\" + mTimeColumnName + \")\");\n+    }\n+\n+    //\n+    // implements the Parcelable interface to be able to serialize the object\n+    //  hence transferring it using an Intent\n+    //\n+\n+    protected DbLogTableDescr(Parcel in) {\n+        super(in);\n+        mTimeColumnName = in.readString();\n+    }\n+\n+    public void writeToParcel(Parcel out, int flags) {","path":"src/main/java/com/treasure_data/androidsdk/apiclient/DbLogTableDescr.java","position":46,"original_position":46,"commit_id":"cbd9e0c2a30d4f14ed60828f86089cd54b769461","original_commit_id":"cbd9e0c2a30d4f14ed60828f86089cd54b769461","user":{"login":"komamitsu","id":59043,"avatar_url":"https://gravatar.com/avatar/09959d4dad2ccebf4c42892ff191d215?d=https%3A%2F%2Fidenticons.github.com%2F0373ca4e85420207ae4d31de52203177.png&r=x","gravatar_id":"09959d4dad2ccebf4c42892ff191d215","url":"https://api.github.com/users/komamitsu","html_url":"https://github.com/komamitsu","followers_url":"https://api.github.com/users/komamitsu/followers","following_url":"https://api.github.com/users/komamitsu/following{/other_user}","gists_url":"https://api.github.com/users/komamitsu/gists{/gist_id}","starred_url":"https://api.github.com/users/komamitsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komamitsu/subscriptions","organizations_url":"https://api.github.com/users/komamitsu/orgs","repos_url":"https://api.github.com/users/komamitsu/repos","events_url":"https://api.github.com/users/komamitsu/events{/privacy}","received_events_url":"https://api.github.com/users/komamitsu/received_events","type":"User","site_admin":false},"body":"Can you use '@Override' annotation?","created_at":"2014-01-25T11:49:39Z","updated_at":"2014-01-25T11:49:39Z","html_url":"https://github.com/treasure-data/td-android-sdk/pull/1#discussion_r9171219","pull_request_url":"https://api.github.com/repos/treasure-data/td-android-sdk/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/treasure-data/td-android-sdk/pulls/comments/9171219"},"html":{"href":"https://github.com/treasure-data/td-android-sdk/pull/1#discussion_r9171219"},"pull_request":{"href":"https://api.github.com/repos/treasure-data/td-android-sdk/pulls/1"}}}}