diff --git a/src/enginuity/logger/innovate/generic/io/Lc1Connection.java b/src/enginuity/logger/innovate/generic/io/InnovateConnectionImpl.java similarity index 85% rename from src/enginuity/logger/innovate/generic/io/Lc1Connection.java rename to src/enginuity/logger/innovate/generic/io/InnovateConnectionImpl.java index cfa71765..11de14b1 100644 --- a/src/enginuity/logger/innovate/generic/io/Lc1Connection.java +++ b/src/enginuity/logger/innovate/generic/io/InnovateConnectionImpl.java @@ -10,12 +10,12 @@ import static enginuity.util.ParamChecker.checkNotNullOrEmpty; import static enginuity.util.ThreadUtil.sleep; import org.apache.log4j.Logger; -public final class Lc1Connection implements InnovateConnection { - private static final Logger LOGGER = Logger.getLogger(Lc1Connection.class); +public final class InnovateConnectionImpl implements InnovateConnection { + private static final Logger LOGGER = Logger.getLogger(InnovateConnectionImpl.class); private final long sendTimeout; private final SerialConnection serialConnection; - public Lc1Connection(ConnectionProperties connectionProperties, String portName) { + public InnovateConnectionImpl(ConnectionProperties connectionProperties, String portName) { checkNotNull(connectionProperties, "connectionProperties"); checkNotNullOrEmpty(portName, "portName"); this.sendTimeout = connectionProperties.getSendTimeout(); diff --git a/src/enginuity/logger/innovate/generic/io/InnovateRunnerImpl.java b/src/enginuity/logger/innovate/generic/io/InnovateRunnerImpl.java index 212bcf61..9f815407 100644 --- a/src/enginuity/logger/innovate/generic/io/InnovateRunnerImpl.java +++ b/src/enginuity/logger/innovate/generic/io/InnovateRunnerImpl.java @@ -9,7 +9,7 @@ public final class InnovateRunnerImpl implements InnovateRunner { private boolean stop; public InnovateRunnerImpl(InnovateSettings innovateSettings, DataListener listener) { - connection = new Lc1Connection(new InnovateConnectionProperties(), innovateSettings.getPort()); + connection = new InnovateConnectionImpl(new InnovateConnectionProperties(), innovateSettings.getPort()); this.listener = listener; }