From: David ‘Bombe’ Roden Date: Thu, 26 Nov 2009 09:07:44 +0000 (+0100) Subject: Make all setter methods package-private. X-Git-Tag: v0.1.2.1~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=793d0b1da454e31f4a3cf92e28aadb7fec2e942f;p=jFCPlib.git Make all setter methods package-private. --- diff --git a/src/main/java/net/pterodactylus/fcp/highlevel/Request.java b/src/main/java/net/pterodactylus/fcp/highlevel/Request.java index 6264a5a..2038523 100644 --- a/src/main/java/net/pterodactylus/fcp/highlevel/Request.java +++ b/src/main/java/net/pterodactylus/fcp/highlevel/Request.java @@ -255,7 +255,7 @@ public abstract class Request { * @param totalBlocks * This request’s total number of blocks */ - public void setTotalBlocks(int totalBlocks) { + void setTotalBlocks(int totalBlocks) { this.totalBlocks = totalBlocks; } @@ -277,7 +277,7 @@ public abstract class Request { * @param requiredBlocks * The number of required blocks */ - public void setRequiredBlocks(int requiredBlocks) { + void setRequiredBlocks(int requiredBlocks) { this.requiredBlocks = requiredBlocks; } @@ -296,7 +296,7 @@ public abstract class Request { * @param succeededBlocks * The number of succeeded blocks */ - public void setSucceededBlocks(int succeededBlocks) { + void setSucceededBlocks(int succeededBlocks) { this.succeededBlocks = succeededBlocks; } @@ -316,7 +316,7 @@ public abstract class Request { * @param failedBlocks * The number of failed blocks */ - public void setFailedBlocks(int failedBlocks) { + void setFailedBlocks(int failedBlocks) { this.failedBlocks = failedBlocks; } @@ -335,7 +335,7 @@ public abstract class Request { * @param fatallyFailedBlocks * The number of fatally failed blocks */ - public void setFatallyFailedBlocks(int fatallyFailedBlocks) { + void setFatallyFailedBlocks(int fatallyFailedBlocks) { this.fatallyFailedBlocks = fatallyFailedBlocks; }