Skip to content

Commit 1311278

Browse files
committed
Lints: add missing deprecation annotations
1 parent 74703ba commit 1311278

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideContract.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
// Copyright 2011-2025 Uwe Trottmann
2+
// SPDX-FileCopyrightText: Copyright © 2011 Uwe Trottmann <[email protected]>
33

44
package com.battlelancer.seriesguide.provider;
55

@@ -240,6 +240,8 @@ public interface ShowsColumns {
240240
*
241241
* @deprecated Use {@link #NEXTAIRDATEMS} and format.
242242
*/
243+
@SuppressWarnings("DeprecatedIsStillUsed")
244+
@Deprecated
243245
String NEXTAIRDATETEXT = "series_nextairdatetext";
244246

245247
/**
@@ -258,6 +260,7 @@ public interface ShowsColumns {
258260
* @deprecated Removed after tvtag (formerly GetGlue) shutdown end of 2014. Not added on new
259261
* installs.
260262
*/
263+
@Deprecated
261264
String GETGLUEID = "series_getglueid";
262265

263266
/**
@@ -382,6 +385,7 @@ interface EpisodesColumns {
382385
* @deprecated Previously first release date in text as given by TVDb.com. Not created on
383386
* new installs.
384387
*/
388+
@Deprecated
385389
String FIRSTAIRED = "epfirstaired";
386390

387391
/**

app/src/main/java/com/battlelancer/seriesguide/provider/SeriesGuideDatabase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
// Copyright 2011-2024 Uwe Trottmann
2+
// SPDX-FileCopyrightText: Copyright © 2011 Uwe Trottmann <[email protected]>
33

44
package com.battlelancer.seriesguide.provider;
55

@@ -288,6 +288,7 @@ interface References {
288288
String LIST_ID = "REFERENCES " + Tables.LISTS + "(" + Lists.LIST_ID + ")";
289289
}
290290

291+
@SuppressWarnings("deprecation")
291292
@VisibleForTesting
292293
public static final String CREATE_SHOWS_TABLE = "CREATE TABLE " + Tables.SHOWS + " ("
293294

0 commit comments

Comments
 (0)