private final boolean matchCatalog ( WSConnectionRequestInfoImpl cri ) { // At least one of the CRIs should know the default value. String defaultValue = defaultCatalog == null ? cri . defaultCatalog : defaultCatalog ; return match ( ivCatalog , cri . ivCatalog ) || ivCatalog == null && match ( defaultValue , cri . ivCatalog ) || cri . ivCatalog == null && match ( ivCatalog , defaultValue ) ; }
Determine if the catalog property matches . It is considered to match if - Both catalog values are unspecified . - Both catalog values are the same value . - One of the catalog values is unspecified and the other CRI requested the default value .