From 62aa6786a98b73762e05c3aec7357b82ccbeea4e Mon Sep 17 00:00:00 2001 From: Christine Emrich Date: Tue, 17 Nov 2015 14:42:15 +0100 Subject: [PATCH] Fixed empty methods warnings. --- .../ListView/SubscriptionExpandableListAdapter.java | 5 ----- .../java/de/luhmer/owncloudnewsreader/PodcastFragment.java | 5 ----- .../luhmer/owncloudnewsreader/PodcastFragmentActivity.java | 5 ----- .../database/generator/DatabaseOrmGenerator.java | 3 --- .../view/PodcastSlidingUpPanelLayout.java | 6 ------ 5 files changed, 24 deletions(-) diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/ListView/SubscriptionExpandableListAdapter.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/ListView/SubscriptionExpandableListAdapter.java index d281876e..4ef7c642 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/ListView/SubscriptionExpandableListAdapter.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/ListView/SubscriptionExpandableListAdapter.java @@ -399,11 +399,6 @@ public class SubscriptionExpandableListAdapter extends BaseExpandableListAdapter SparseArray unreadCountFeeds; SparseArray urlsToFavIcons; - @Deprecated - @Override - public void notifyDataSetChanged() { - super.notifyDataSetChanged(); - } public void NotifyDataSetChangedAsync() { new NotifyDataSetChangedAsyncTask().execute((Void) null); diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragment.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragment.java index d3db2565..f4668d17 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragment.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragment.java @@ -293,11 +293,6 @@ public class PodcastFragment extends Fragment { } } - @Override - public void onAttach(Context context) { - super.onAttach(context); - } - @Override public void onDetach() { super.onDetach(); diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragmentActivity.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragmentActivity.java index 1bf75b6b..208a6305 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragmentActivity.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/PodcastFragmentActivity.java @@ -103,11 +103,6 @@ public class PodcastFragmentActivity extends AppCompatActivity implements IPlayP super.onPostCreate(savedInstanceState); } - @Override - protected void onStart() { - super.onStart(); - } - @Override protected void onStop() { super.onStop(); diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/database/generator/DatabaseOrmGenerator.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/database/generator/DatabaseOrmGenerator.java index 05cbb3f6..3ed64c4e 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/database/generator/DatabaseOrmGenerator.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/database/generator/DatabaseOrmGenerator.java @@ -8,9 +8,6 @@ import java.util.Set; import de.greenrobot.daogenerator.DaoGenerator; -/** - * Created by David on 15.07.2014. - */ public class DatabaseOrmGenerator { private static final String SCHEMA_OUTPUT_DIR = "./News-Android-App/src/main/java/"; diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/view/PodcastSlidingUpPanelLayout.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/view/PodcastSlidingUpPanelLayout.java index d4a9f959..e42574af 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/view/PodcastSlidingUpPanelLayout.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/view/PodcastSlidingUpPanelLayout.java @@ -22,12 +22,6 @@ public class PodcastSlidingUpPanelLayout extends SlidingUpPanelLayout { super(context, attrs, defStyle); } - @Override - public boolean onInterceptTouchEvent(MotionEvent ev) { - return super.onInterceptTouchEvent(ev); - //return isDragViewHit((int)ev.getX(), (int)ev.getY()); - } - private View mDragView; private View mSlideableView;