8005302: [findbugs] public methods return internal arrays; may be private
authorjchen
Mon, 29 Apr 2013 10:02:21 -0700
changeset 17140 d7bd09ae1752
parent 17139 03ba8665f3e3
child 17141 afb400bf5e27
8005302: [findbugs] public methods return internal arrays; may be private Reviewed-by: bae, prr
jdk/src/share/classes/sun/java2d/pipe/AAShapePipe.java
--- 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;
     }