Fixed condition so that region
can be determined correctly
Issue-ID: APPC-776
Change-Id: Iaf57a4face50d99a56cd4b85c0a318d34632a1e8
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
Matcher matcher = urlPattern.matcher(endpointUrl);\r
if (!matcher.matches() ||\r
!url.getHost().equals(matcher.group(1)) ||\r
Matcher matcher = urlPattern.matcher(endpointUrl);\r
if (!matcher.matches() ||\r
!url.getHost().equals(matcher.group(1)) ||\r
- (url.getPort() != null && url.getPort().equals(matcher.group(2))) ) {\r
+ (url.getPort() != null && !url.getPort().equals(matcher.group(2))) ) {\r