From 9cb5395d893a2c39c88cae0a4fa1efc0c34584fd Mon Sep 17 00:00:00 2001 From: square group sky <2992305964@qq.com> Date: Wed, 8 Jan 2020 20:34:23 +0800 Subject: [PATCH] develop --- .../src/main/java/net/micode/notes/model/Note.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/app/src/main/java/net/micode/notes/model/Note.java b/src/app/src/main/java/net/micode/notes/model/Note.java index c0742b1..f0c133b 100644 --- a/src/app/src/main/java/net/micode/notes/model/Note.java +++ b/src/app/src/main/java/net/micode/notes/model/Note.java @@ -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();