Skip to content

Commit

Permalink
fix(plc4j/drivers/s7): fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Meierhofer committed Nov 7, 2024
1 parent 8c93bd1 commit cd03238
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public void doSecondaryTcpConnections() {
* The user application must take the measures to make the connection again.
*/
protected void sendChannelDisconectEvent() {
logger.trace("Channels was not created, firing DisconnectEvent Event");
logger.trace("Channel was not created, firing DisconnectEvent Event");
// Send an event to the pipeline telling the Protocol filters what's going on.
channel.pipeline().fireUserEventTriggered(new DisconnectEvent());
}
Expand Down Expand Up @@ -351,7 +351,7 @@ public void run() {

if (primaryChannel != null) {
if (!primaryChannel.isActive()) {
logger.info("Creating prymary connection.");
logger.info("Creating primary connection.");
primaryChannel.eventLoop().shutdownGracefully();
doPrimaryTcpConnections();
} else if (null == secondaryChannel) {
Expand All @@ -364,7 +364,7 @@ public void run() {
}
}
} else {
logger.info("Creating firts prymary connection.");
logger.info("Creating first primary connection.");
doPrimaryTcpConnections();
}

Expand All @@ -384,7 +384,7 @@ public void run() {
}
} else {
if (secondaryChannelFactory != null) {
logger.info("Creating firts secondary connection.");
logger.info("Creating first secondary connection.");
doSecondaryTcpConnections();
}
}
Expand Down

0 comments on commit cd03238

Please sign in to comment.