+ minor assertion to avoid poolname NPEs

This commit is contained in:
Costin Leau
2010-12-06 17:04:37 +02:00
parent eb9b1d0092
commit 438f9a6284

View File

@@ -116,6 +116,7 @@ public class ClientRegionFactoryBean<K, V> extends RegionFactoryBean<K, V> imple
* @param poolName
*/
public void setPoolName(String poolName) {
Assert.hasText(poolName, "pool name is required");
this.poolName = poolName;
}