提交 af68e3e0 编写于 作者: J jchen

8005302: [findbugs] public methods return internal arrays; may be private

Reviewed-by: bae, prr
上级 42c1f36b
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册