[
https://issues.apache.org/jira/browse/HDDS-2520?focusedWorklogId=345057=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-345057
]
ASF GitHub Bot logged work on HDDS-2520:
Author: ASF GitHub Bot
Created on: 18/Nov/19 03:52
Start Date: 18/Nov/19 03:52
Worklog Time Spent: 10m
Work Description: dineshchitlangia commented on pull request #208:
HDDS-2520. Sonar: Avoid temporary variable scmSecurityClient
URL: https://github.com/apache/hadoop-ozone/pull/208
## What changes were proposed in this pull request?
Eliminated temporary variable which served no purpose.
Now, we return the created instance immediately without assigning it first
to a temporary variable.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2520
## How was this patch tested?
No code logic was changed, just verified mvn install.
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
Issue Time Tracking
---
Worklog Id: (was: 345057)
Remaining Estimate: 0h
Time Spent: 10m
> Sonar: Avoid temporary variable scmSecurityClient
> -
>
> Key: HDDS-2520
> URL: https://issues.apache.org/jira/browse/HDDS-2520
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
>Reporter: Dinesh Chitlangia
>Assignee: Dinesh Chitlangia
>Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> https://sonarcloud.io/project/issues?id=hadoop-ozone=AW5md_APKcVY8lQ4ZsWL=AW5md_APKcVY8lQ4ZsWL
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org