diff options
author | orionlee <orionlee@yahoo.com> | 2019-01-09 14:27:59 -0800 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-04-06 13:43:11 -0700 |
commit | 670fc124ebbbce8575364e473e6c87ce4f914ccd (patch) | |
tree | b92ea8689d30791d48095b84663a966342e6fcd9 /app/src/main/java/de/danoeh/antennapod/asynctask | |
parent | 5f86af88b18b94d3ba741963a6ae4ea51a532050 (diff) | |
download | AntennaPod-670fc124ebbbce8575364e473e6c87ce4f914ccd.zip |
#2966 RxJava2 null - explicit mark underlying Rx sources as NonNull
to be on the safe side, for cases that the consuming observers
already assumes the result is not null.
Rx observer : underlying sources marked as NonNull
OnlineFeedViewActivity.listener member : DBReader.getFeedList
StatisticsActivity.loadStatistics : DBReader.getStatistics
CustomMRControllerDialog.updateViews : CustomMRControllerDialog.fetchArt
CompletedDownloadsFragment.loadItems : DBReader.getDownloadedItems
DownloadLogFragment.loadItems : DBReader.getDownloadedItems
ItemDescriptionFragment.onViewCreated : .loadData, Timeline.processShownotes
SubscriptionFragment.loadSubscriptions : DBReader.getNavDrawerData
SubscriptionFragment.onContextItemSelected (x2) : DBWriter.markFeedSeen, DBWriter.markFeedRead
PreferenceController.export : ExportWorker.output member
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/asynctask')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/asynctask/ExportWorker.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/asynctask/ExportWorker.java b/app/src/main/java/de/danoeh/antennapod/asynctask/ExportWorker.java index 7c3c570a0..219725b01 100644 --- a/app/src/main/java/de/danoeh/antennapod/asynctask/ExportWorker.java +++ b/app/src/main/java/de/danoeh/antennapod/asynctask/ExportWorker.java @@ -23,15 +23,15 @@ public class ExportWorker { private static final String TAG = "ExportWorker"; private static final String DEFAULT_OUTPUT_NAME = "antennapod-feeds"; - private final ExportWriter exportWriter; - private final File output; + private final @NonNull ExportWriter exportWriter; + private final @NonNull File output; - public ExportWorker(ExportWriter exportWriter) { + public ExportWorker(@NonNull ExportWriter exportWriter) { this(exportWriter, new File(UserPreferences.getDataFolder(EXPORT_DIR), DEFAULT_OUTPUT_NAME + "." + exportWriter.fileExtension())); } - private ExportWorker(ExportWriter exportWriter, @NonNull File output) { + private ExportWorker(@NonNull ExportWriter exportWriter, @NonNull File output) { this.exportWriter = exportWriter; this.output = output; } |