X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2Fhighlevel%2FRequest.java;h=4b73398e7b4ea123d70483e50d538b42f7365f14;hb=b171126719c983b590c51f22eb60a3e0afdf1fb9;hp=6264a5a574ed006abd2855f66195af4f38434897;hpb=ff507a2bd95ba0ea46937591e3a36d726d57e98e;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/highlevel/Request.java b/src/main/java/net/pterodactylus/fcp/highlevel/Request.java index 6264a5a..4b73398 100644 --- a/src/main/java/net/pterodactylus/fcp/highlevel/Request.java +++ b/src/main/java/net/pterodactylus/fcp/highlevel/Request.java @@ -132,7 +132,8 @@ public abstract class Request { * Sets whether this request is complete. * * @param complete - * true if this request is complete, false otherwise + * true if this request is complete, false + * otherwise */ void setComplete(boolean complete) { this.complete = complete; @@ -219,8 +220,8 @@ public abstract class Request { } /** - * Returns whether this request has fatally failed, i.e. repitition will not - * cause the request to succeed. + * Returns whether this request has fatally failed, i.e. repitition will + * not cause the request to succeed. * * @return true if this request can not be made succeed by * repeating, false otherwise @@ -255,13 +256,13 @@ 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; } /** - * Returns the number of required blocks. Any progress percentages should be - * calculated against this value as 100%. Also, as long as + * Returns the number of required blocks. Any progress percentages should + * be calculated against this value as 100%. Also, as long as * {@link #isFinalizedTotal()} returns {@code false} this value might * change. * @@ -277,7 +278,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 +297,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 +317,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 +336,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; }