Move these files into a different package structure

This commit is contained in:
R. Tyler Croy 2014-11-23 15:15:40 -08:00
parent 558719abdb
commit 9f06b78fa8
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
package offtopic
import org.apache.commons.pool2.impl.GenericObjectPool
@Singleton(strict=false)
class CuratorPool {
GenericObjectPool<CuratorClient> pool
private CuratorPool() {
}
}

View File

@ -0,0 +1,10 @@
package offtopic
import spock.lang.Specification
class CuratorPoolSpec extends Specification {
def "an instance should be an instance"() {
expect:
CuratorPool.instance instanceof CuratorPool
}
}