From c8d522fc1ad878f4c3803852bc7e8cf214f889ad Mon Sep 17 00:00:00 2001 From: mkoch Date: Mon, 24 Mar 2003 13:12:55 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64794 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/awt/dnd/DropTarget.java | 6 ++++-- libjava/java/awt/dnd/DropTargetContext.java | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'libjava/java/awt/dnd') diff --git a/libjava/java/awt/dnd/DropTarget.java b/libjava/java/awt/dnd/DropTarget.java index 3be2786a5a9..4063e206a2b 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 7b945ef4ca0..4301fbccc85 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; -- cgit v1.2.3