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)