Update SqlData.java

dev
ph2y8awtk 2 years ago
parent 8ef51d3418
commit a40f4948e6

@ -6,18 +6,11 @@
*/
package net.micode.notes.gtask.data;
/*
*
*
*
* Made By CuiCan
*/
public class SqlData {
/*
* TAG
* getSimpleName ()
* Made By CuiCan
*/
private static final String TAG = SqlData.class.getSimpleName();
@ -67,8 +60,6 @@ public class SqlData {
*
* mContentResolverContentProvider
* mIsCreate
*
* Made By CuiCan
*/
public SqlData(Context context) {
mContentResolver = context.getContentResolver();
@ -86,8 +77,6 @@ public class SqlData {
*
* mContentResolverContentProvider
* mIsCreate
*
* Made By CuiCan
*/
public SqlData(Context context, Cursor c) {
mContentResolver = context.getContentResolver();
@ -99,7 +88,6 @@ public class SqlData {
/*
*
*
* Made By CuiCan
*/
private void loadFromCursor(Cursor c) {
mDataId = c.getLong(DATA_ID_COLUMN);
@ -112,8 +100,6 @@ public class SqlData {
/*
*
*
* Made By CuiCan
*/
public void setContent(JSONObject js) throws JSONException {
//如果传入的JSONObject对象中有DataColumns.ID这一项则设置否则设为INVALID_ID
@ -152,8 +138,6 @@ public class SqlData {
/*
*
*
* Made By CuiCan
*/
public JSONObject getContent() throws JSONException {
if (mIsCreate) {
@ -172,8 +156,6 @@ public class SqlData {
/*
* commit
*
* Made By CuiCan
*/
public void commit(long noteId, boolean validateVersion, long version) {
@ -216,9 +198,6 @@ public class SqlData {
/*
* id
*
*
* Made By CuiCan
*/
public long getId() {
return mDataId;

Loading…
Cancel
Save