OpenJDK / amber / amber
changeset 24168:033f79a3fb44
6690000: Typo's in DataFlavor Javadoc
Reviewed-by: serb, azvegint
author | pchelko |
---|---|
date | Tue, 08 Apr 2014 14:02:30 +0400 |
parents | 799c5c824575 |
children | 4efa892f600b |
files | jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java Mon Apr 07 17:45:18 2014 +0100 +++ b/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java Tue Apr 08 14:02:30 2014 +0400 @@ -107,7 +107,7 @@ * 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 @@ * 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 @@ * 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 @@ * 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>