logger.info("checkSize " + ship );
if (ship.getCells().size() != ship.getShipConfig().getSize()) {
logger.error("Size of the ship is incorrect " + ship );
throw new ShipExecption("Size of the ship is incorrect " + ship);
}
logger.info("checkSize ok");
}