From a0b751e64dcbf975381934671d06544f958eb0cb Mon Sep 17 00:00:00 2001
From: Piotr Idzik <65706193+vil02@users.noreply.github.com>
Date: Sun, 27 Oct 2024 21:11:24 +0100
Subject: [PATCH] Remove imports only used in JavaDoc (#7468)
---
config/checkstyle/checkstyle.xml | 4 +++-
.../sync/gpoddernet/model/GpodnetUploadChangesResponse.java | 3 +--
.../storage/database/ItemEnqueuePositionCalculator.java | 6 ++----
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index d6775d9e0..c1374f725 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -35,7 +35,9 @@
-
+
+
+
diff --git a/net/sync/gpoddernet/src/main/java/de/danoeh/antennapod/net/sync/gpoddernet/model/GpodnetUploadChangesResponse.java b/net/sync/gpoddernet/src/main/java/de/danoeh/antennapod/net/sync/gpoddernet/model/GpodnetUploadChangesResponse.java
index 7d3f36fe4..8f095dba0 100644
--- a/net/sync/gpoddernet/src/main/java/de/danoeh/antennapod/net/sync/gpoddernet/model/GpodnetUploadChangesResponse.java
+++ b/net/sync/gpoddernet/src/main/java/de/danoeh/antennapod/net/sync/gpoddernet/model/GpodnetUploadChangesResponse.java
@@ -2,7 +2,6 @@ package de.danoeh.antennapod.net.sync.gpoddernet.model;
import androidx.collection.ArrayMap;
-import de.danoeh.antennapod.net.sync.gpoddernet.GpodnetService;
import de.danoeh.antennapod.net.sync.serviceinterface.UploadChangesResponse;
import org.json.JSONArray;
import org.json.JSONException;
@@ -11,7 +10,7 @@ import org.json.JSONObject;
import java.util.Map;
/**
- * Object returned by {@link GpodnetService} in uploadChanges method.
+ * Object returned by {@link de.danoeh.antennapod.net.sync.gpoddernet.GpodnetService} in uploadChanges method.
*/
public class GpodnetUploadChangesResponse extends UploadChangesResponse {
/**
diff --git a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/ItemEnqueuePositionCalculator.java b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/ItemEnqueuePositionCalculator.java
index 55c2b079c..316356715 100644
--- a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/ItemEnqueuePositionCalculator.java
+++ b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/ItemEnqueuePositionCalculator.java
@@ -1,7 +1,5 @@
package de.danoeh.antennapod.storage.database;
-import android.content.Context;
-
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
@@ -11,12 +9,12 @@ import java.util.Random;
import de.danoeh.antennapod.model.feed.FeedItem;
import de.danoeh.antennapod.model.feed.FeedMedia;
import de.danoeh.antennapod.net.download.serviceinterface.DownloadServiceInterface;
-import de.danoeh.antennapod.storage.database.DBWriter;
import de.danoeh.antennapod.storage.preferences.UserPreferences.EnqueueLocation;
import de.danoeh.antennapod.model.playback.Playable;
/**
- * @see DBWriter#addQueueItem(Context, boolean, long...) it uses the class to determine
+ * @see de.danoeh.antennapod.storage.database.DBWriter#addQueueItem(android.content.Context, boolean, long...)
+ * it uses the class to determine
* the positions of the {@link FeedItem} in the queue.
*/
public class ItemEnqueuePositionCalculator {