浏览代码

Convert indentations to spaces.

Sebastián Katzer 12 年之前
父节点
当前提交
52df61981d
共有 1 个文件被更改,包括 28 次插入28 次删除
  1. 28 28
      src/android/LocalNotificationRestore.java

+ 28 - 28
src/android/LocalNotificationRestore.java

@@ -26,32 +26,32 @@ import android.content.SharedPreferences;
  */
 public class LocalNotificationRestore extends BroadcastReceiver {
 
-	@Override
-	public void onReceive(Context context, Intent intent) {
-		String pluginName = LocalNotification.PLUGIN_NAME;
-
-		if (LocalNotification.cordova == null) {
-			return;
-		}
-
-		// Obtain alarm details form Shared Preferences
-		SharedPreferences alarms = context.getSharedPreferences(pluginName, Context.MODE_PRIVATE);
-		Set<String> alarmIds     = alarms.getAll().keySet();
-
-		/*
-		 * For each alarm, parse its alarm options and register is again with
-		 * the Alarm Manager
-		 */
-		for (String alarmId : alarmIds) {
-			LocalNotificationOptions options;
-			JSONObject args;
-
-			try {
-				args    = new JSONObject(alarms.getString(alarmId, ""));
-				options = new LocalNotificationOptions(args, context);
-
-				LocalNotification.add(options);
-			} catch (JSONException e) {}
-		}
-	}
+    @Override
+    public void onReceive(Context context, Intent intent) {
+        String pluginName = LocalNotification.PLUGIN_NAME;
+
+        if (LocalNotification.cordova == null) {
+            return;
+        }
+
+        // Obtain alarm details form Shared Preferences
+        SharedPreferences alarms = context.getSharedPreferences(pluginName, Context.MODE_PRIVATE);
+        Set<String> alarmIds     = alarms.getAll().keySet();
+
+        /*
+         * For each alarm, parse its alarm options and register is again with
+         * the Alarm Manager
+         */
+        for (String alarmId : alarmIds) {
+            LocalNotificationOptions options;
+            JSONObject args;
+
+            try {
+                args    = new JSONObject(alarms.getString(alarmId, ""));
+                options = new LocalNotificationOptions(args, context);
+
+                LocalNotification.add(options);
+            } catch (JSONException e) {}
+        }
+    }
 }