develop
This commit is contained in:
parent
9bcf3c3eb2
commit
9cb5395d89
|
@ -43,10 +43,10 @@ public class Note {
|
|||
private NoteData mNoteData;
|
||||
private static final String TAG = "Note";
|
||||
private static final String WRONGNOTEID = "Wrong note id:";
|
||||
/**
|
||||
* Create a new note id for adding a new note to databases
|
||||
* 返回值为新建的note的Id
|
||||
*/
|
||||
/*
|
||||
* Create a new note id for adding a new note to databases
|
||||
* 返回值为新建的note的Id
|
||||
* */
|
||||
public static synchronized long getNewNoteId(Context context, long folderId) {
|
||||
// 在数据库中创建新便签
|
||||
ContentValues values = new ContentValues();
|
||||
|
@ -78,7 +78,6 @@ public class Note {
|
|||
return noteId;
|
||||
}
|
||||
|
||||
//构造函数
|
||||
public Note() {
|
||||
//为mNoteDiffValues与mNoteData初始化
|
||||
mNoteDiffValues = new ContentValues();
|
||||
|
@ -173,7 +172,9 @@ public class Note {
|
|||
|
||||
private static final String TAG = "NoteData";
|
||||
|
||||
//构造函数,初始化变量
|
||||
/*
|
||||
* 构造函数,初始化变量
|
||||
* */
|
||||
public NoteData() {
|
||||
mTextDataValues = new ContentValues();
|
||||
mCallDataValues = new ContentValues();
|
||||
|
|
Loading…
Reference in New Issue