Skip to content

Commit

Permalink
[java] Fixing misspellings in Java docs
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
diemol committed Oct 7, 2021
1 parent 22638e0 commit 320cd38
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ public Duration getLatency() {
}

/**
* Sets the simulated latency of the connection.
* Sets the simulated latency of the connection.
*
* @param latency amount of latency, typically a Duration of millisceonds.
* @param latency amount of latency, typically a Duration of milliseconds.
*/
public void setLatency(Duration latency) {
this.latency = latency;
Expand All @@ -80,9 +80,9 @@ public int getDownloadThroughput() {
}

/**
* ets the throughput of the network connection in kb/second for downloading.
* Sets the throughput of the network connection in kb/second for downloading.
*
* @param downloadThroughput thoughput in kb/second
* @param downloadThroughput throughput in kb/second
*/
public void setDownloadThroughput(int downloadThroughput) {
this.downloadThroughput = downloadThroughput;
Expand All @@ -98,9 +98,9 @@ public int getUploadThroughput() {
}

/**
* ets the throughput of the network connection in kb/second for uploading.
* Sets the throughput of the network connection in kb/second for uploading.
*
* @param uploadThroughput thoughput in kb/second
* @param uploadThroughput throughput in kb/second
*/
public void setUploadThroughput(int uploadThroughput) {
this.uploadThroughput = uploadThroughput;
Expand Down

0 comments on commit 320cd38

Please sign in to comment.