diff --git a/src/data/data用例图-杨耀淞.png b/src/data/data用例图-杨耀淞.png new file mode 100644 index 0000000..fc5dda4 Binary files /dev/null and b/src/data/data用例图-杨耀淞.png differ diff --git a/src/tool/BackupUtils.java b/src/tool/BackupUtils.java index e383ec3..ca35196 100644 --- a/src/tool/BackupUtils.java +++ b/src/tool/BackupUtils.java @@ -42,7 +42,7 @@ public class BackupUtils { private static BackupUtils sInstance; public static synchronized BackupUtils getInstance(Context context) { - //ynchronized 关键字,代表这个方法加锁,相当于不管哪一个线程(例如线程A) + //ynchronized 关键字,代表这个方法加锁,相当于不管哪一个线程 //运行到这个方法时,都要检查有没有其它线程B(或者C、 D等)正在用这个方法(或者该类的其他同步方法),有的话要等正在使用synchronized方法的线程B(或者C 、D)运行完这个方法后再运行此线程A,没有的话,锁定调用者,然后直接运行。 //它包括两种用法:synchronized 方法和 synchronized 块。 if (sInstance == null) { diff --git a/src/tool/DataUtils.java b/src/tool/DataUtils.java index 3e84b20..881a12d 100644 --- a/src/tool/DataUtils.java +++ b/src/tool/DataUtils.java @@ -39,7 +39,7 @@ package net.micode.notes.tool; public class DataUtils { public static final String TAG = "DataUtils"; - public static boolean batchDeleteNotes(ContentResolver resolver, HashSet ids) { //直接删除多个笔记 + public static boolean batchDeleteNotes(ContentResolver resolver, HashSet ids) { //直接删除笔记 if (ids == null) { Log.d(TAG, "the ids is null"); return true; diff --git a/src/tool/GTaskStringUtils.java b/src/tool/GTaskStringUtils.java index c28c295..a141f6e 100644 --- a/src/tool/GTaskStringUtils.java +++ b/src/tool/GTaskStringUtils.java @@ -14,7 +14,7 @@ * limitations under the License. */ -//˺ܶľַ̬ṩjsonObjectӦַ"key" +//˾ַ̬ṩjsonObjectӦַ package net.micode.notes.tool; //ඨjsonObjectṩKey diff --git a/src/tool/ResourceParser.java b/src/tool/ResourceParser.java index 8a3a0a0..51aa552 100644 --- a/src/tool/ResourceParser.java +++ b/src/tool/ResourceParser.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +// package net.micode.notes.tool; import android.content.Context; diff --git a/src/tool/tool-何家齐.png b/src/tool/tool-何家齐.png new file mode 100644 index 0000000..b628c58 Binary files /dev/null and b/src/tool/tool-何家齐.png differ