Skip to content

Commit

Permalink
Spelling update
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobaccan committed Nov 28, 2023
1 parent 62d6378 commit 285b768
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/it/baccan/sockredirector/FlowThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private void runNormal() {
bytesToRead = sourceInputStream.available();
}

// Write bytes if there arent new bytes to read or buffer is full
// Write bytes if there are not new bytes to read or buffer is full
if (bufferPosition >= size || bytesToRead == 0) {
socketPause(getWritePause());
logData(logFile, buffer, bufferPosition);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ServerSocketThread extends Thread {
private FlowThread destinationOutputToSourceInputThread;

/**
* Current htread number.
* Current thread number.
*
* @return
*/
Expand Down Expand Up @@ -140,7 +140,7 @@ public void run() {
threadNumber,
getServerPojo().getDestinationAddress(),
getServerPojo().getDestinationPort());
LOG.error("Unknow error", e);
LOG.error("Unknown error", e);
} finally {
try {
socketIn.close();
Expand Down

0 comments on commit 285b768

Please sign in to comment.