fanshuang
范双 7 months ago
parent 227b6e57a8
commit 35dd84ccf5

@ -13,7 +13,7 @@ import android.util.Log;
import java.util.HashMap;
public class Contact {
// 定义一个静态HashMap来缓存联系人信息以提高查询效率
// 定义一个静态HashMap来缓存联系人信息以提高查询效率.
private static HashMap<String, String> sContactCache;
// 定义日志输出的标签
private static final String TAG = "Contact";

@ -1,3 +1,5 @@
package net.micode.notes.data;
`Notes.java`
```java

@ -4,7 +4,7 @@ import javax.naming.Context;
/**
* NotesDatabaseHelper
* SQLiteOpenHelper onCreate onUpgrade
* SQLiteOpenHelper onCreate onUpgrade
*/
public class NotesDatabaseHelper extends SQLiteOpenHelper {

@ -4,7 +4,7 @@ import java.awt.*;
/**
* NotesProvider ContentProvider
* 访
* 访
*/
public class NotesProvider extends ContentProvider {

@ -1,3 +1,5 @@
package net.micode.notes.gtask.data;
```java
/*
* Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)

@ -29,7 +29,7 @@ import android.database.Cursor;
import org.json.JSONObject;
/**
*
*
*
*/
public abstract class Node {

@ -27,7 +27,7 @@ public class SqlData {
private static final int INVALID_ID = -99999; // 无效的 ID表示未初始化或无效的数据
/**
*
*
*/
public static final String[] PROJECTION_DATA = new String[] {
DataColumns.ID, DataColumns.MIME_TYPE, DataColumns.CONTENT, DataColumns.DATA1,

@ -32,7 +32,7 @@ public class Task extends Node {
/**
* JSON
* @param actionId ID
* @param actionId ID.
* @return JSONObject
* @throws ActionFailureException JSON
*/

@ -28,7 +28,7 @@ public class TaskList extends Node {
private ArrayList<Task> mChildren;
/**
* TaskList
* TaskList .
*/
public TaskList() {
super();

@ -13,7 +13,7 @@ public class ActionFailureException extends RuntimeException {
private static final long serialVersionUID = 4425249765923293627L;
/**
*
*
*/
public ActionFailureException() {
super();

@ -13,7 +13,7 @@ public class NetworkFailureException extends Exception {
private static final long serialVersionUID = 2107610287180234136L;
/**
*
*
*/
public NetworkFailureException() {
super();

@ -20,7 +20,7 @@ import net.micode.notes.ui.NotesPreferenceActivity;
public class GTaskASyncTask extends AsyncTask<Void, String, Integer> {
/**
* ID
* ID
*/
private static int GTASK_SYNC_NOTIFICATION_ID = 5234235;

@ -61,7 +61,7 @@ import java.util.zip.Inflater;
import java.util.zip.InflaterInputStream;
/**
* GTaskClient Google Tasks
* GTaskClient Google Tasks
*/
public class GTaskClient {
private static final String TAG = GTaskClient.class.getSimpleName();

@ -46,7 +46,7 @@ import java.util.Iterator;
import java.util.Map;
/**
* GTaskManager Google Tasks
* GTaskManager Google Tasks
*/
public class GTaskManager {
private static final String TAG = GTaskManager.class.getSimpleName();

@ -23,7 +23,7 @@ import net.micode.notes.gtask.remote.GTaskASyncTask;
/**
* GTask
*
* GTask 广
* GTask 广
*/
public class GTaskSyncService extends Service {
/**

Loading…
Cancel
Save