2003-02-13 Michael Koch <konqueror@gmx.de>
* java/awt/Label.java (Label): Don't implement Serializable directly. (addNotify): Fixed typo in documentation. * java/awt/List.java (List): Don't implement Serializable directly. * java/awt/PopupMenu.java (PopupMenu): Don't implement Serializable directly. * java/awt/ScrollPane.java (ScrollPane): Don't implement Serializable directly. * java/awt/Scrollbar.java (Scrollbar): Don't implement Serializable directly. * java/awt/TextArea.java (preferredSize): Fixed method arguments. * java/awt/TextField.java (TextField): Don't implement Serializable directly. * java/awt/color/ICC_ColorSpace.java (fromCIOXYZ): Documentation added. (getMinValue): Documentation added. (getMaxValue): Documentation added. * java/awt/datatransfer/DataFlavor.java (isMimeTypeEqual): May not be final. (clone): Throws CloneNotSupportedException. (getReaderForText): Don't throws UnsupportedEncodingException. From-SVN: r62863
This commit is contained in:
committed by
Michael Koch
parent
1cb02bdfd3
commit
659efb326d
@@ -508,7 +508,7 @@ setHumanPresentableName(String humanPresentableName)
|
||||
*
|
||||
* @exception NullPointerException If mimeType is null.
|
||||
*/
|
||||
public final boolean
|
||||
public boolean
|
||||
isMimeTypeEqual(String mimeType)
|
||||
{
|
||||
// FIXME: Need to handle default attributes and parameters
|
||||
@@ -660,8 +660,7 @@ isFlavorJavaFileListType()
|
||||
* the Cloneable interface. Subclasses that override the clone method can also
|
||||
* throw this exception to indicate that an instance cannot be cloned.
|
||||
*/
|
||||
public Object
|
||||
clone()
|
||||
public Object clone () throws CloneNotSupportedException
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -975,10 +974,8 @@ selectBestTextFlavor(DataFlavor[] availableFlavors)
|
||||
* @exception UnsupportedEncodingException if the "charset" isn't supported
|
||||
* on this platform.
|
||||
*/
|
||||
public Reader
|
||||
getReaderForText(Transferable transferable) throws UnsupportedFlavorException,
|
||||
IOException,
|
||||
UnsupportedEncodingException
|
||||
public Reader getReaderForText(Transferable transferable)
|
||||
throws UnsupportedFlavorException, IOException
|
||||
{
|
||||
if (!transferable.isDataFlavorSupported(this))
|
||||
throw new UnsupportedFlavorException(this);
|
||||
|
||||
Reference in New Issue
Block a user