You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2021/05/06 07:54:00 UTC

[jira] [Created] (CALCITE-4598) Forbid the use of System.out

Vladimir Sitnikov created CALCITE-4598:
------------------------------------------

             Summary: Forbid the use of System.out
                 Key: CALCITE-4598
                 URL: https://issues.apache.org/jira/browse/CALCITE-4598
             Project: Calcite
          Issue Type: Improvement
    Affects Versions: 1.26.0
            Reporter: Vladimir Sitnikov


System.out.println often results in useless logging which is impossible to disable in the client code.

We should remove all the uses of System.out.println and add something like jdk-system-out from forbiddenApis or https://errorprone.info/bugpattern/SystemOut

I'm inclined to errorprone since it provides a clear way to suppress the warning (add annotation).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)