8005302: [findbugs] public methods return internal arrays; may be private
Reviewed-by: bae, prr
--- a/jdk/src/share/classes/sun/java2d/pipe/AAShapePipe.java Thu Apr 25 10:14:24 2013 -0700
+++ b/jdk/src/share/classes/sun/java2d/pipe/AAShapePipe.java Mon Apr 29 10:02:21 2013 -0700
@@ -127,7 +127,7 @@
private static byte[] theTile;
- public synchronized static byte[] getAlphaTile(int len) {
+ private synchronized static byte[] getAlphaTile(int len) {
byte[] t = theTile;
if (t == null || t.length < len) {
t = new byte[len];
@@ -137,7 +137,7 @@
return t;
}
- public synchronized static void dropAlphaTile(byte[] t) {
+ private synchronized static void dropAlphaTile(byte[] t) {
theTile = t;
}