diff options
author | 2018-02-02 15:12:07 +0530 | |
---|---|---|
committer | 2018-02-02 15:15:05 +0530 | |
commit | 7c524de8aef9f8b93beaeff0327844f635a42dff (patch) | |
tree | d35dad7266d7aa1fc1ad5d7a95a87413342195b8 /src/main/java/io/swagger/api/impl | |
parent | 3a2703f01b5e0431ce390cd5e21f4b19d39fdded (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:L139
Change-Id: I60ab8364871ffc2263e3ef94b0861c831171b756
Issue-ID: DCAEGEN2-298
Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
Diffstat (limited to 'src/main/java/io/swagger/api/impl')
-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..793fc95 100644 --- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java +++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java @@ -136,7 +136,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService { String componentType, Boolean shareable, DateTime created, Integer offset, UriInfo uriInfo, SecurityContext securityContext) { List<DCAEServiceObject> serviceObjects = new ArrayList<>(); - DateTime createdCutoff = (created == null ? DateTime.now(DateTimeZone.UTC) : created); + DateTime createdCutoff = created == null ? DateTime.now(DateTimeZone.UTC) : created; LOG.info(String.format("Create time upper bound cutoff: %s", createdCutoff.toString())); |