提交 f118703c 编写于 作者: S serb

8076214: [Findbugs]sun.awt.datatransfer.SunClipboard.checkChange(long[]) may...

8076214: [Findbugs]sun.awt.datatransfer.SunClipboard.checkChange(long[]) may expose internal representation
Reviewed-by: azvegint, alexsch
上级 0cf79a69
...@@ -419,7 +419,7 @@ public abstract class SunClipboard extends Clipboard ...@@ -419,7 +419,7 @@ public abstract class SunClipboard extends Clipboard
* @param formats data formats that have just been retrieved from * @param formats data formats that have just been retrieved from
* this clipboard * this clipboard
*/ */
public final void checkChange(final long[] formats) { protected final void checkChange(final long[] formats) {
if (Arrays.equals(formats, currentFormats)) { if (Arrays.equals(formats, currentFormats)) {
// we've been able to successfully get available on the clipboard // we've been able to successfully get available on the clipboard
// DataFlavors this and previous time and they are coincident; // DataFlavors this and previous time and they are coincident;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册