Deleted commented out code for real! Yay for cleanliness

pull/14/head
Sam Bosley 12 years ago
parent 260d5b7f26
commit a309e55910

@ -427,12 +427,10 @@ public final class ActFmSyncService {
JsonHelper.taskFromJson(result, task, metadata);
} catch (JSONException e) {
handleException("task-save-json", e);
// Crittercism.logHandledException(e);
} catch (IOException e) {
if (notPermanentError(e))
addFailedPush(new FailedPush(PUSH_TYPE_TASK, task.getId()));
else
// Crittercism.logHandledException(e);
handleException("task-save-io", e);
task.setValue(Task.LAST_SYNC, DateUtilities.now() + 1000L);
}
@ -1093,10 +1091,8 @@ public final class ActFmSyncService {
handler.handleException("io-exception-list-" + model, e);
else
handleException("io-exception-list-" + model, e);
// Crittercism.logHandledException(e);
} catch (JSONException e) {
handleException("json: " + result.toString(), e);
// Crittercism.logHandledException(e);
}
}
}).start();

@ -132,10 +132,8 @@ public class ActFmSyncV2Provider extends SyncV2Provider {
Preferences.setInt(LAST_TAG_FETCH_TIME, time);
} catch (JSONException e) {
handler.handleException("actfm-sync", e); //$NON-NLS-1$
// Crittercism.logHandledException(e);
} catch (IOException e) {
handler.handleException("actfm-sync", e); //$NON-NLS-1$
// Crittercism.logHandledException(e);
} finally {
callback.incrementProgress(20);
if(finisher.decrementAndGet() == 0) {

@ -88,7 +88,6 @@ public final class GtasksSyncService {
}
}
} catch (IOException e) {
// Crittercism.logHandledException(e);
Log.w("gtasks-sync-error", "Sync on save failed", e);
}
}

@ -112,7 +112,6 @@ public class GtasksSyncV2Provider extends SyncV2Provider {
gtasksListService.updateLists(invoker.allGtaskLists());
} catch (IOException e) {
handler.handleException("gtasks-sync=io", e); //$NON-NLS-1$
// Crittercism.logHandledException(e);
}
StoreObject[] lists = gtasksListService.getLists();
@ -154,7 +153,6 @@ public class GtasksSyncV2Provider extends SyncV2Provider {
gtasksSyncService.pushTaskOnSave(task, task.getMergedValues(), invoker, false);
} catch (IOException e) {
handler.handleException("gtasks-sync-io", e); //$NON-NLS-1$
// Crittercism.logHandledException(e);
} finally {
callback.incrementProgress(10);
}

Loading…
Cancel
Save