From 0ef38dd02087a36ca4de4f4649f1870b44e43e20 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Sat, 7 Jul 2012 12:16:09 +0000 Subject: [PATCH] LUCENE-4199: add more discourages APIs (no new bugs found by that) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358552 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/tools/forbiddenApis/jdk.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lucene/tools/forbiddenApis/jdk.txt b/lucene/tools/forbiddenApis/jdk.txt index a1f0815bfb5..f848a57cc20 100644 --- a/lucene/tools/forbiddenApis/jdk.txt +++ b/lucene/tools/forbiddenApis/jdk.txt @@ -10,5 +10,19 @@ java.lang.String#toUpperCase() java.io.FileReader java.io.FileWriter +java.io.ByteArrayOutputStream#toString() java.io.InputStreamReader#(java.io.InputStream) java.io.OutputStreamWriter#(java.io.OutputStream) +java.io.PrintStream#(java.io.File) +java.io.PrintStream#(java.io.OutputStream) +java.io.PrintStream#(java.io.OutputStream, boolean) +java.io.PrintStream#(String) +java.io.PrintWriter#(java.io.File) +java.io.PrintWriter#(java.io.OutputStream) +java.io.PrintWriter#(java.io.OutputStream, boolean) +java.io.PrintWriter#(String) + +java.util.Scanner#(java.io.InputStream) +java.util.Formatter#(String) +java.util.Formatter#(java.io.File) +java.util.Formatter#(java.io.OutputStream)