From 3676952cc03a39889bd7560ba640ceeb0ffd2359 Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Tue, 17 Mar 2015 17:24:09 -0700 Subject: [PATCH] Forbid MessageFormat.format(String,Object[]) because it uses default locale --- .../de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.5.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.5.txt b/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.5.txt index 6ed27068..f747ae3c 100644 --- a/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.5.txt +++ b/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.5.txt @@ -68,6 +68,7 @@ java.text.DecimalFormat#() java.text.DecimalFormat#(java.lang.String) java.text.DecimalFormatSymbols#() java.text.MessageFormat#(java.lang.String) +java.text.MessageFormat#format(java.lang.String,java.lang.Object[]) java.text.NumberFormat#getInstance() java.text.NumberFormat#getNumberInstance() java.text.NumberFormat#getIntegerInstance()