diff options
author | 2018-02-05 11:57:48 +0530 | |
---|---|---|
committer | 2018-02-05 11:58:57 +0530 | |
commit | bd449c27d174f9bbd78683065146121b6aa522c0 (patch) | |
tree | 91770406e886b7514708ad1528f3a5dd8918297d /src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java | |
parent | 91ba8a3cb383770316eafa9ee4939f3c70547063 (diff) |
Sonar Major fix
Remove useless parentheses in DcaeServicesApiServiceImpl.java
Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=_me_%2CPooja03
Location:DcaeServicesApiServiceImpl.java:L214
Change-Id: I69cfc51a0e42516564c821ec5a0610c4cb3e7242
Issue-ID: DCAEGEN2-301
Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
Diffstat (limited to 'src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java')
-rw-r--r-- | src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java index bc1888f..990083a 100644 --- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java +++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java @@ -211,7 +211,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService { if (shareable != null) { // NOTE: That the shareable field in the database is actually an integer. - query.bind("shareable", (shareable ? 1 : 0)); + query.bind("shareable", shareable ? 1 : 0); } query.bind("createdCutoff", createdCutoff); |