diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-11-24 22:59:06 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-11-24 22:59:06 -0800 |
commit | c03a5ae4cb985dfba8c832adf477b50dbbe96a70 (patch) | |
tree | 7f2104c6b71e480897afb3653e8dbd32f307171c | |
parent | 76dc7926cc9049f69ca3dcea519e47d42581f377 (diff) | |
download | dsub-c03a5ae4cb985dfba8c832adf477b50dbbe96a70.tar.gz dsub-c03a5ae4cb985dfba8c832adf477b50dbbe96a70.tar.bz2 dsub-c03a5ae4cb985dfba8c832adf477b50dbbe96a70.zip |
Moved SyncUtil to util folder...
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java | 4 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java | 5 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/service/sync/PlaylistSyncAdapter.java | 2 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java | 4 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/util/SyncUtil.java (renamed from src/github/daneren2005/dsub/service/SyncUtil.java) | 6 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/view/PlaylistView.java | 2 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/view/PodcastChannelView.java | 3 |
7 files changed, 8 insertions, 18 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java b/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java index 3f84a4f6..e6a49db1 100644 --- a/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java @@ -2,10 +2,8 @@ package github.daneren2005.dsub.fragments; import android.app.AlertDialog;
import android.content.DialogInterface;
-import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
-import android.util.Log;
import android.view.ContextMenu;
import android.view.LayoutInflater;
import android.view.Menu;
@@ -23,7 +21,7 @@ import github.daneren2005.dsub.service.MusicService; import github.daneren2005.dsub.service.MusicServiceFactory;
import github.daneren2005.dsub.service.OfflineException;
import github.daneren2005.dsub.service.ServerTooOldException;
-import github.daneren2005.dsub.service.SyncUtil;
+import github.daneren2005.dsub.util.SyncUtil;
import github.daneren2005.dsub.util.BackgroundTask;
import github.daneren2005.dsub.util.CacheCleaner;
import github.daneren2005.dsub.util.Constants;
diff --git a/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java b/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java index 461a613c..8b83a0c5 100644 --- a/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java +++ b/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java @@ -21,9 +21,6 @@ package github.daneren2005.dsub.fragments; import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
-import android.text.SpannableString;
-import android.text.method.LinkMovementMethod;
-import android.text.util.Linkify;
import android.util.Log;
import android.view.ContextMenu;
import android.view.LayoutInflater;
@@ -42,7 +39,7 @@ import github.daneren2005.dsub.service.MusicService; import github.daneren2005.dsub.service.MusicServiceFactory;
import github.daneren2005.dsub.service.OfflineException;
import github.daneren2005.dsub.service.ServerTooOldException;
-import github.daneren2005.dsub.service.SyncUtil;
+import github.daneren2005.dsub.util.SyncUtil;
import github.daneren2005.dsub.util.BackgroundTask;
import github.daneren2005.dsub.util.Constants;
import github.daneren2005.dsub.util.LoadingTask;
diff --git a/src/github/daneren2005/dsub/service/sync/PlaylistSyncAdapter.java b/src/github/daneren2005/dsub/service/sync/PlaylistSyncAdapter.java index 48bc9161..a709384b 100644 --- a/src/github/daneren2005/dsub/service/sync/PlaylistSyncAdapter.java +++ b/src/github/daneren2005/dsub/service/sync/PlaylistSyncAdapter.java @@ -27,7 +27,7 @@ import java.util.List; import github.daneren2005.dsub.domain.MusicDirectory;
import github.daneren2005.dsub.service.DownloadFile;
-import github.daneren2005.dsub.service.SyncUtil;
+import github.daneren2005.dsub.util.SyncUtil;
import github.daneren2005.dsub.util.Util;
/**
diff --git a/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java b/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java index b5807e92..3d9b8168 100644 --- a/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java +++ b/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java @@ -30,8 +30,8 @@ import java.util.List; import github.daneren2005.dsub.domain.MusicDirectory;
import github.daneren2005.dsub.domain.PodcastEpisode;
import github.daneren2005.dsub.service.DownloadFile;
-import github.daneren2005.dsub.service.SyncUtil;
-import github.daneren2005.dsub.service.SyncUtil.SyncSet;
+import github.daneren2005.dsub.util.SyncUtil;
+import github.daneren2005.dsub.util.SyncUtil.SyncSet;
import github.daneren2005.dsub.util.FileUtil;
import github.daneren2005.dsub.util.Util;
diff --git a/src/github/daneren2005/dsub/service/SyncUtil.java b/src/github/daneren2005/dsub/util/SyncUtil.java index 40da78c1..463baf9e 100644 --- a/src/github/daneren2005/dsub/service/SyncUtil.java +++ b/src/github/daneren2005/dsub/util/SyncUtil.java @@ -1,15 +1,11 @@ -package github.daneren2005.dsub.service;
+package github.daneren2005.dsub.util;
import android.content.Context;
-import android.util.Log;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
-import github.daneren2005.dsub.util.FileUtil;
-import github.daneren2005.dsub.util.Util;
-
/**
* Created by Scott on 11/24/13.
*/
diff --git a/src/github/daneren2005/dsub/view/PlaylistView.java b/src/github/daneren2005/dsub/view/PlaylistView.java index 63ba4f5c..8b5e8ca9 100644 --- a/src/github/daneren2005/dsub/view/PlaylistView.java +++ b/src/github/daneren2005/dsub/view/PlaylistView.java @@ -26,7 +26,7 @@ import android.widget.ImageView; import android.widget.TextView;
import github.daneren2005.dsub.R;
import github.daneren2005.dsub.domain.Playlist;
-import github.daneren2005.dsub.service.SyncUtil;
+import github.daneren2005.dsub.util.SyncUtil;
/**
* Used to display albums in a {@code ListView}.
diff --git a/src/github/daneren2005/dsub/view/PodcastChannelView.java b/src/github/daneren2005/dsub/view/PodcastChannelView.java index 8b0f4b84..aff97524 100644 --- a/src/github/daneren2005/dsub/view/PodcastChannelView.java +++ b/src/github/daneren2005/dsub/view/PodcastChannelView.java @@ -19,7 +19,6 @@ package github.daneren2005.dsub.view;
import android.content.Context;
-import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageButton;
@@ -27,7 +26,7 @@ import android.widget.ImageView; import android.widget.TextView;
import github.daneren2005.dsub.R;
import github.daneren2005.dsub.domain.PodcastChannel;
-import github.daneren2005.dsub.service.SyncUtil;
+import github.daneren2005.dsub.util.SyncUtil;
import github.daneren2005.dsub.util.FileUtil;
import java.io.File;
|