private final boolean matchNetworkTimeout ( WSConnectionRequestInfoImpl cri ) { // At least one of the CRIs should know the default value. int defaultValue = defaultNetworkTimeout == 0 ? cri . defaultNetworkTimeout : defaultNetworkTimeout ; return ivNetworkTimeout == cri . ivNetworkTimeout || ivNetworkTimeout == 0 && ( defaultValue == cri . ivNetworkTimeout ) || cri . ivNetworkTimeout == 0 && ivNetworkTimeout == defaultValue ; }
Determine if the networkTimeout property matches . It is considered to match if - Both networkTimeout values are unspecified . - Both networkTimeout values are the same value . - One of the networkTimeout values is unspecified and the other CRI requested the default value .