From af68e3e00cbd4d33978c4a6f79c24fe527d5fca4 Mon Sep 17 00:00:00 2001 From: jchen Date: Mon, 29 Apr 2013 10:02:21 -0700 Subject: [PATCH] 8005302: [findbugs] public methods return internal arrays; may be private Reviewed-by: bae, prr --- src/share/classes/sun/java2d/pipe/AAShapePipe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/share/classes/sun/java2d/pipe/AAShapePipe.java b/src/share/classes/sun/java2d/pipe/AAShapePipe.java index 7da9b58ea..2b21c5fce 100644 --- a/src/share/classes/sun/java2d/pipe/AAShapePipe.java +++ b/src/share/classes/sun/java2d/pipe/AAShapePipe.java @@ -127,7 +127,7 @@ public class AAShapePipe 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 @@ public class AAShapePipe return t; } - public synchronized static void dropAlphaTile(byte[] t) { + private synchronized static void dropAlphaTile(byte[] t) { theTile = t; } -- GitLab