From 3cfb3d50774eaaca9759b671ef6c963e5023c155 Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Tue, 12 Jul 2011 20:42:16 -0700 Subject: [PATCH] Remove dead code Change-Id: I66bec3975b3f028081071b9bbd26206ec369da26 --- .../email/data/NoAutoRequeryCursorLoader.java | 37 ------------------- .../email/mail/NoSuchProviderException.java | 31 ---------------- 2 files changed, 68 deletions(-) delete mode 100644 src/com/android/email/data/NoAutoRequeryCursorLoader.java delete mode 100644 src/com/android/email/mail/NoSuchProviderException.java diff --git a/src/com/android/email/data/NoAutoRequeryCursorLoader.java b/src/com/android/email/data/NoAutoRequeryCursorLoader.java deleted file mode 100644 index e1e024246..000000000 --- a/src/com/android/email/data/NoAutoRequeryCursorLoader.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.email.data; - -import android.content.Context; -import android.content.CursorLoader; -import android.net.Uri; - -/** - * Same as {@link CursorLoader} but it doesn't do auto-requery when it gets content-changed - * notifications. - */ -public class NoAutoRequeryCursorLoader extends CursorLoader { - public NoAutoRequeryCursorLoader(Context context, Uri uri, String[] projection, - String selection, String[] selectionArgs, String sortOrder) { - super(context, uri, projection, selection, selectionArgs, sortOrder); - } - - @Override - public void onContentChanged() { - // Don't reload. - } -} diff --git a/src/com/android/email/mail/NoSuchProviderException.java b/src/com/android/email/mail/NoSuchProviderException.java deleted file mode 100644 index c0846cdc8..000000000 --- a/src/com/android/email/mail/NoSuchProviderException.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.email.mail; - -import com.android.emailcommon.mail.MessagingException; - -public class NoSuchProviderException extends MessagingException { - public static final long serialVersionUID = -1; - - public NoSuchProviderException(String message) { - super(message); - } - - public NoSuchProviderException(String message, Throwable throwable) { - super(message, throwable); - } -}