mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 09:53:18 +00:00
6690000: Typo's in DataFlavor Javadoc
Reviewed-by: serb, azvegint
This commit is contained in:
parent
175dba662b
commit
0ec7b5fb94
@ -107,7 +107,7 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION;
|
||||
* As such, asking a {@code Transferable} for either {@code DataFlavor} returns
|
||||
* the same results.
|
||||
* <p>
|
||||
* For more information on the using data transfer with Swing see
|
||||
* For more information on using data transfer with Swing see
|
||||
* the <a href="http://docs.oracle.com/javase/tutorial/uiswing/dnd/index.html">
|
||||
* How to Use Drag and Drop and Data Transfer</a>,
|
||||
* section in <em>Java Tutorial</em>.
|
||||
@ -405,7 +405,7 @@ public class DataFlavor implements Externalizable, Cloneable {
|
||||
* If the <code>mimeType</code> is
|
||||
* "application/x-java-serialized-object; class=<representation class>",
|
||||
* the result is the same as calling
|
||||
* <code>new DataFlavor(Class:forName(<representation class>)</code>.
|
||||
* <code>new DataFlavor(Class.forName(<representation class>)</code>.
|
||||
* <p>
|
||||
* Otherwise:
|
||||
* <pre>
|
||||
@ -413,7 +413,7 @@ public class DataFlavor implements Externalizable, Cloneable {
|
||||
* mimeType = mimeType
|
||||
* </pre>
|
||||
* @param mimeType the string used to identify the MIME type for this flavor;
|
||||
* if the the <code>mimeType</code> does not specify a
|
||||
* if the <code>mimeType</code> does not specify a
|
||||
* "class=" parameter, or if the class is not successfully
|
||||
* loaded, then an <code>IllegalArgumentException</code>
|
||||
* is thrown
|
||||
@ -448,7 +448,7 @@ public class DataFlavor implements Externalizable, Cloneable {
|
||||
* If the mimeType is
|
||||
* "application/x-java-serialized-object; class=<representation class>",
|
||||
* the result is the same as calling
|
||||
* <code>new DataFlavor(Class:forName(<representation class>)</code>.
|
||||
* <code>new DataFlavor(Class.forName(<representation class>)</code>.
|
||||
* <p>
|
||||
* Otherwise:
|
||||
* <pre>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user