From 1ee34d189954e1a275f40566028ab59ff1b6ea5a Mon Sep 17 00:00:00 2001
From: ziji Wu <2193177243@qq.com>
Date: Thu, 12 Sep 2019 15:04:36 +0800
Subject: [PATCH] ziji wu comment
---
.../executionHistory/executionHistory.lock | Bin 17 -> 17 bytes
src/.gradle/5.4.1/fileHashes/fileHashes.lock | Bin 17 -> 17 bytes
.../buildOutputCleanup.lock | Bin 17 -> 17 bytes
src/.idea/workspace.xml | 85 ++++++++++--------
.../java/net/micode/notes/data/Notes.java | 2 +-
.../notes/data/NotesDatabaseHelper.java | 1 +
6 files changed, 50 insertions(+), 38 deletions(-)
diff --git a/src/.gradle/5.4.1/executionHistory/executionHistory.lock b/src/.gradle/5.4.1/executionHistory/executionHistory.lock
index 41eb9fd94754d5f2d2b127fbe52595680a7ab937..539cb4cc7b31bd86657039abadbadf1ccd133f6c 100644
GIT binary patch
literal 17
UcmZRMdf@e>LT%?K1_+1+06G5!5&!@I
literal 17
UcmZRMdf@e>LT%?K1_+1*06F^w4gdfE
diff --git a/src/.gradle/5.4.1/fileHashes/fileHashes.lock b/src/.gradle/5.4.1/fileHashes/fileHashes.lock
index cd85a9b47f0b896b589b1dfd6e30ba41302259e5..87d8af956c31f95007763c36f29ab3f1bd99ec6f 100644
GIT binary patch
literal 17
VcmZR+pgrSz(_gE93}C>t8~{Oh1?~U<
literal 17
VcmZR+pgrSz(_gE93}C>t6aYbX1?&I-
diff --git a/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index 9d3f598a948b2d6191160a6e027b76660f13dd68..551f969ad297a814c391c74d14edb2f351936399 100644
GIT binary patch
literal 17
UcmZRM`Mf=SLigq@1_(F_06Vw^asU7T
literal 17
UcmZRM`Mf=SLigq@1_(F~06Vq?Z~y=R
diff --git a/src/.idea/workspace.xml b/src/.idea/workspace.xml
index 568089d..0f59503 100644
--- a/src/.idea/workspace.xml
+++ b/src/.idea/workspace.xml
@@ -6,7 +6,14 @@
-
+
+
+
+
+
+
+
+
@@ -29,7 +36,7 @@
-
+
@@ -41,8 +48,8 @@
-
-
+
+
@@ -50,7 +57,7 @@
-
+
@@ -71,8 +78,8 @@
-
-
+
+
@@ -80,7 +87,7 @@
-
+
@@ -107,6 +114,9 @@
+
+
+
-
-
-
+
+
+
@@ -135,6 +146,8 @@
+
+
@@ -228,8 +241,6 @@
-
-
@@ -239,7 +250,7 @@
-
+
@@ -392,7 +403,7 @@
-
+
@@ -410,7 +421,7 @@
-
+
@@ -554,16 +565,33 @@
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
-
+
@@ -580,27 +608,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/src/app/src/main/java/net/micode/notes/data/Notes.java b/src/app/src/main/java/net/micode/notes/data/Notes.java
index 6f9a420..923f395 100644
--- a/src/app/src/main/java/net/micode/notes/data/Notes.java
+++ b/src/app/src/main/java/net/micode/notes/data/Notes.java
@@ -66,7 +66,7 @@ public class Notes {
/**
- *该类声明了一系列关于便签的final变量,没有定义方法
+ *该类声明了一系列关于便签的final变量,用于再数据库中标识便签,没有定义方法
*/
public interface NoteColumns {
/**
diff --git a/src/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java b/src/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java
index ffe5d57..0b3b80a 100644
--- a/src/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java
+++ b/src/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java
@@ -42,6 +42,7 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
private static NotesDatabaseHelper mInstance;
+ //创建SQL便签表表项,String类型
private static final String CREATE_NOTE_TABLE_SQL =
"CREATE TABLE " + TABLE.NOTE + "(" +
NoteColumns.ID + " INTEGER PRIMARY KEY," +