From 5eec7c8caf9d055aa8ecd76368ef32399df093d0 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Mon, 24 Mar 2003 13:12:55 +0000 Subject: [PATCH] 2003-03-24 Michael Koch * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): According to the online documentation, this is protected, but in reality it is public. * java/awt/dnd/DropTargetContext.java (TransferableProxy): According to the online documentation, this is protected, but in reality it is public. From-SVN: r64794 --- libjava/ChangeLog | 9 +++++++++ libjava/java/awt/dnd/DropTarget.java | 6 ++++-- libjava/java/awt/dnd/DropTargetContext.java | 6 ++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 07494cd81e07..18400da496b3 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,12 @@ +2003-03-24 Michael Koch + + * java/awt/dnd/DropTarget.java + (DropTargetAutoScroller): According to the online documentation, this + is protected, but in reality it is public. + * java/awt/dnd/DropTargetContext.java + (TransferableProxy): According to the online documentation, this + is protected, but in reality it is public. + 2003-03-24 Michael Koch * java/io/DataInputStream.java diff --git a/libjava/java/awt/dnd/DropTarget.java b/libjava/java/awt/dnd/DropTarget.java index 3be2786a5a9c..4063e206a2bf 100644 --- a/libjava/java/awt/dnd/DropTarget.java +++ b/libjava/java/awt/dnd/DropTarget.java @@ -1,5 +1,5 @@ /* DropTarget.java -- - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -60,7 +60,9 @@ public class DropTarget */ private static final long serialVersionUID = -6283860791671019047L; - protected static class DropTargetAutoScroller + /** @specnote According to the online documentation, this is + * protected, but in reality it is public. */ + public static class DropTargetAutoScroller implements ActionListener { private Component component; diff --git a/libjava/java/awt/dnd/DropTargetContext.java b/libjava/java/awt/dnd/DropTargetContext.java index 7b945ef4ca02..4301fbccc856 100644 --- a/libjava/java/awt/dnd/DropTargetContext.java +++ b/libjava/java/awt/dnd/DropTargetContext.java @@ -1,5 +1,5 @@ /* DropTargetContext.java -- - Copyright (C) 2002 Free Software Foundation + Copyright (C) 2002, 2003 Free Software Foundation This file is part of GNU Classpath. @@ -55,7 +55,9 @@ public class DropTargetContext implements Serializable { static final long serialVersionUID = -634158968993743371L; - protected class TransferableProxy implements Transferable + /** @specnote According to the online documentation, this is + * protected, but in reality it is public. */ + public class TransferableProxy implements Transferable { protected boolean isLocal; protected Transferable transferable; -- 2.47.2