[
https://issues.apache.org/jira/browse/HDFS-7194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160942#comment-14160942
]
Yongjun Zhang commented on HDFS-7194:
-------------------------------------
Many thanks [~cmccabe] and [~szetszwo].
> Fix findbugs "inefficient new String constructor" warning in DFSClient#PATH
> ---------------------------------------------------------------------------
>
> Key: HDFS-7194
> URL: https://issues.apache.org/jira/browse/HDFS-7194
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Yongjun Zhang
> Assignee: Yongjun Zhang
> Priority: Trivial
> Attachments: HDFS-7194.001.patch, HDFS-7194.002.patch
>
>
> In recent PreCommit-HDFS-Build, 8325, 8324, 8323 etc, there is a findbugs
> warning:
> {code}
> Code Warning
> Dm org.apache.hadoop.hdfs.DFSClient.<static initializer for DFSClient>()
> invokes inefficient new String(String) constructor
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)