just reformatting

pull/14/head
Tim Su 14 years ago
parent 61cfc9eb89
commit 56492a8987

@ -124,7 +124,6 @@ public class ShortcutActivity extends Activity {
startActivity(taskListIntent);
}
finish();
}
@ -133,8 +132,10 @@ public class ShortcutActivity extends Activity {
ShortcutActivity.class);
shortcutIntent.setAction(Intent.ACTION_VIEW);
shortcutIntent.putExtra(ShortcutActivity.TOKEN_FILTER_TITLE, filter.title);
shortcutIntent.putExtra(ShortcutActivity.TOKEN_FILTER_SQL, filter.sqlQuery);
shortcutIntent.putExtra(ShortcutActivity.TOKEN_FILTER_TITLE,
filter.title);
shortcutIntent.putExtra(ShortcutActivity.TOKEN_FILTER_SQL,
filter.sqlQuery);
if (filter.valuesForNewTasks != null) {
for (Entry<String, Object> item : filter.valuesForNewTasks.valueSet()) {
String key = TOKEN_FILTER_VALUES_ITEM + item.getKey();
@ -150,7 +151,8 @@ public class ShortcutActivity extends Activity {
else if (value instanceof Long)
shortcutIntent.putExtra(key, (Long) value);
else
throw new IllegalStateException("Unsupported bundle type " + value.getClass()); //$NON-NLS-1$
throw new IllegalStateException(
"Unsupported bundle type " + value.getClass()); //$NON-NLS-1$
}
}
return shortcutIntent;

Loading…
Cancel
Save