updated innovate plugins

git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@19 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
kascade 2008-04-07 09:20:35 +00:00
parent 2637435033
commit 68c6bb8d0d
2 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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;
}