From e898725e56c854de357cc7e108ae209bf17794da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastiaan?= Date: Mon, 24 Dec 2018 16:11:13 +0100 Subject: [PATCH] Make protected package-private --- .../torrentstream/StreamStatus.java | 2 +- .../torrentstream/TorrentOptions.java | 28 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/library/src/main/java/com/github/se_bastiaan/torrentstream/StreamStatus.java b/library/src/main/java/com/github/se_bastiaan/torrentstream/StreamStatus.java index c05e813..2589648 100644 --- a/library/src/main/java/com/github/se_bastiaan/torrentstream/StreamStatus.java +++ b/library/src/main/java/com/github/se_bastiaan/torrentstream/StreamStatus.java @@ -22,7 +22,7 @@ public class StreamStatus { public final int seeds; public final float downloadSpeed; - protected StreamStatus(float progress, int bufferProgress, int seeds, int downloadSpeed) { + StreamStatus(float progress, int bufferProgress, int seeds, int downloadSpeed) { this.progress = progress; this.bufferProgress = bufferProgress; this.seeds = seeds; diff --git a/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentOptions.java b/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentOptions.java index 31b3ab2..adf9c16 100644 --- a/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentOptions.java +++ b/library/src/main/java/com/github/se_bastiaan/torrentstream/TorrentOptions.java @@ -20,20 +20,20 @@ public final class TorrentOptions { - protected String saveLocation = "/"; - protected String proxyHost; - protected String proxyUsername; - protected String proxyPassword; - protected String peerFingerprint; - protected Integer maxDownloadSpeed = 0; - protected Integer maxUploadSpeed = 0; - protected Integer maxConnections = 200; - protected Integer maxDht = 88; - protected Integer listeningPort = -1; - protected Boolean removeFiles = false; - protected Boolean anonymousMode = false; - protected Boolean autoDownload = true; - protected Long prepareSize = 15 * 1024L * 1024L; + String saveLocation = "/"; + String proxyHost; + String proxyUsername; + String proxyPassword; + String peerFingerprint; + Integer maxDownloadSpeed = 0; + Integer maxUploadSpeed = 0; + Integer maxConnections = 200; + Integer maxDht = 88; + Integer listeningPort = -1; + Boolean removeFiles = false; + Boolean anonymousMode = false; + Boolean autoDownload = true; + Long prepareSize = 15 * 1024L * 1024L; private TorrentOptions() { // Unused