You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/01/25 22:16:39 UTC
[jira] [Commented] (SQOOP-2795) Clean up useless code in class
TestSqoopJsonUtil
[ https://issues.apache.org/jira/browse/SQOOP-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116067#comment-15116067 ]
ASF subversion and git services commented on SQOOP-2795:
--------------------------------------------------------
Commit de2fa9a68654a90f91d85286504d2da161975a4f in sqoop's branch refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=de2fa9a ]
SQOOP-2795: Clean up useless code in class TestSqoopJsonUtil
(Ze Jin via Jarek Jarcec Cecho)
> Clean up useless code in class TestSqoopJsonUtil
> ------------------------------------------------
>
> Key: SQOOP-2795
> URL: https://issues.apache.org/jira/browse/SQOOP-2795
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.6
> Reporter: Ze Jin
> Assignee: Ze Jin
> Priority: Trivial
> Labels: newbie
> Fix For: 1.4.7
>
> Attachments: SQOOP-2795.0000.patch, SQOOP-2795.0001.patch
>
>
> The import in line 7 is never used. The field in line 13 is not used, and methods in class SqoopJsonUtil are all static, so any intance of SqoopJsonUtil is unnecessary.
> According to Sonar rule squid:S1118 - Utility classes should not have public constructors
> You can find more information about the issue here:
> https://dev.eclipse.org/sonar/coding_rules#q=squid:S1118
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)