Setup for a v2.7.8 release.

pull/1098/head
Brett Wooldridge 7 years ago
parent 7bff6723c1
commit b4f25170b3

@ -29,7 +29,7 @@
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>2.7.8-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>HikariCP</name>

@ -149,18 +149,6 @@ public class HikariConfig implements HikariConfigMXBean
loadProperties(propertyFileName);
}
/**
* Determine whether this configuration has been sealed (because the pool as started
* to use it. Use the {@link HikariConfigMXBean} methods to alter supported methods
* at runtime.
*
* @return true if the configuration is sealed.
*/
public boolean isSealed()
{
return sealed;
}
// ***********************************************************************
// HikariConfigMXBean methods
// ***********************************************************************

@ -30,7 +30,7 @@ import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.util.concurrent.atomic.AtomicBoolean;
import static com.zaxxer.hikari.pool.HikariPool.POOL_NORMAL;
import static com.zaxxer.hikari.pool.HikariPool.POOL_SHUTDOWN;
/**
* The HikariCP pooled DataSource.
@ -294,7 +294,7 @@ public class HikariDataSource extends HikariConfig implements DataSource, Closea
*/
public boolean isRunning()
{
return pool != null && pool.poolState == POOL_NORMAL;
return pool != null && pool.poolState != POOL_SHUTDOWN;
}
/**

Loading…
Cancel
Save