Remove imports only used in JavaDoc (#7468)

This commit is contained in:
Piotr Idzik 2024-10-27 21:11:24 +01:00 committed by GitHub
parent c36cdafad6
commit a0b751e64d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 7 deletions

View File

@ -35,7 +35,9 @@
<property name="allowNonPrintableEscapes" value="true"/> <property name="allowNonPrintableEscapes" value="true"/>
</module> </module>
<module name="AvoidStarImport"/> <module name="AvoidStarImport"/>
<module name="UnusedImports"/> <module name="UnusedImports">
<property name="processJavadoc" value="false"/>
</module>
<module name="OneTopLevelClass"/> <module name="OneTopLevelClass"/>
<module name="NoLineWrap"/> <module name="NoLineWrap"/>
<module name="EmptyBlock"> <module name="EmptyBlock">

View File

@ -2,7 +2,6 @@ package de.danoeh.antennapod.net.sync.gpoddernet.model;
import androidx.collection.ArrayMap; import androidx.collection.ArrayMap;
import de.danoeh.antennapod.net.sync.gpoddernet.GpodnetService;
import de.danoeh.antennapod.net.sync.serviceinterface.UploadChangesResponse; import de.danoeh.antennapod.net.sync.serviceinterface.UploadChangesResponse;
import org.json.JSONArray; import org.json.JSONArray;
import org.json.JSONException; import org.json.JSONException;
@ -11,7 +10,7 @@ import org.json.JSONObject;
import java.util.Map; 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 { public class GpodnetUploadChangesResponse extends UploadChangesResponse {
/** /**

View File

@ -1,7 +1,5 @@
package de.danoeh.antennapod.storage.database; package de.danoeh.antennapod.storage.database;
import android.content.Context;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.Nullable; 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.FeedItem;
import de.danoeh.antennapod.model.feed.FeedMedia; import de.danoeh.antennapod.model.feed.FeedMedia;
import de.danoeh.antennapod.net.download.serviceinterface.DownloadServiceInterface; 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.storage.preferences.UserPreferences.EnqueueLocation;
import de.danoeh.antennapod.model.playback.Playable; 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. * the positions of the {@link FeedItem} in the queue.
*/ */
public class ItemEnqueuePositionCalculator { public class ItemEnqueuePositionCalculator {