summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-02-05 20:13:52 +0530
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-02-05 20:13:52 +0530
commitc58884534449ce6e5e4442f5f11b2bacdbb1acc0 (patch)
tree434a4ab0a57b2c1e06f21de1fb591344247cb786 /src
parent0d048f6adf8a8e1a0ea008a37173e2400e605ba3 (diff)
sonar Major issues
Replace these toUpperCase()/toLowerCase() and equals() calls with a single equalsIgnoreCase() call Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java Line No:162 Change-Id: I2d3514753229c9c7a3c9fc005d26d55451f90603 Issue-ID: DCAEGEN2-303 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java b/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java
index b478edf..b21b0e1 100644
--- a/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java
+++ b/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java
@@ -159,7 +159,7 @@ public class DcaeServiceTypesApiServiceImpl extends DcaeServiceTypesApiService {
query.bind("serviceLocation", serviceLocation);
}
- if (asdcServiceId != null && !"NONE".equals(asdcServiceId.toUpperCase(Locale.ENGLISH))) {
+ if (asdcServiceId != null && !"NONE".equalsIgnoreCase(asdcServiceId)) {
query.bind("asdcServiceId", asdcServiceId);
}