From e593f501860d63bd13565fda056bb100d0230530 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Mon, 16 Oct 2017 01:34:13 +0000 Subject: [PATCH] github-79: add String.toString() to forbidden API's git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812239 13f79535-47bb-0310-9956-ffa450edef68 --- src/resources/devtools/forbidden-signatures.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/resources/devtools/forbidden-signatures.txt b/src/resources/devtools/forbidden-signatures.txt index 54b285678..7d24dc75e 100644 --- a/src/resources/devtools/forbidden-signatures.txt +++ b/src/resources/devtools/forbidden-signatures.txt @@ -109,3 +109,6 @@ java.lang.Object#notifyAll() @defaultMessage Don't interrupt threads use FutureUtils#cancel(Future) instead java.util.concurrent.Future#cancel(boolean) + +@defaultMessage Unnecessary, inefficient, and confusing conversion of String.toString +java.lang.String#toString()