[
https://issues.apache.org/jira/browse/DRILL-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16669924#comment-16669924
]
Volodymyr Vysotskyi commented on DRILL-6464:
--------------------------------------------
It may be done by using
[{{forbiddenapis}}|https://github.com/policeman-tools/forbidden-apis] plugin.
We should define {{signaturesFile}} config, where will be specified classes and
methods which shouldn't be used.
As an example, may be used [this
commit|https://github.com/apache/drill/pull/1397/commits/dfe303956d73d9bb1703b9e497585079fd54949b].
> Disallow System.out, System.err, and Exception.printStackTrace
> --------------------------------------------------------------
>
> Key: DRILL-6464
> URL: https://issues.apache.org/jira/browse/DRILL-6464
> Project: Apache Drill
> Issue Type: Task
> Reporter: Timothy Farkas
> Priority: Major
>
> Add checkstyle rules to disallow using these print methods.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)