changeset 10724:246383aae2e6

8076214: [Findbugs]sun.awt.datatransfer.SunClipboard.checkChange(long[]) may expose internal representation Reviewed-by: azvegint, alexsch
author serb
date Tue, 14 Apr 2015 09:34:59 +0300
parents b65f24592d06
children 70aaa6da3101
files src/share/classes/sun/awt/datatransfer/SunClipboard.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/awt/datatransfer/SunClipboard.java	Thu Apr 02 19:53:53 2015 +0300
+++ b/src/share/classes/sun/awt/datatransfer/SunClipboard.java	Tue Apr 14 09:34:59 2015 +0300
@@ -419,7 +419,7 @@
      * @param formats data formats that have just been retrieved from
      *        this clipboard
      */
-    public final void checkChange(final long[] formats) {
+    protected final void checkChange(final long[] formats) {
         if (Arrays.equals(formats, currentFormats)) {
             // we've been able to successfully get available on the clipboard
             // DataFlavors this and previous time and they are coincident;