changeset 30457:8934b8474110

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 2a753e3fc714
children e8bb8c0f25ba
files jdk/src/java.desktop/share/classes/sun/awt/datatransfer/SunClipboard.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/classes/sun/awt/datatransfer/SunClipboard.java	Mon Apr 13 17:06:04 2015 -0700
+++ b/jdk/src/java.desktop/share/classes/sun/awt/datatransfer/SunClipboard.java	Tue Apr 14 09:34:59 2015 +0300
@@ -414,7 +414,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;