# HG changeset patch # User pchelko # Date 1396951350 -14400 # Node ID 033f79a3fb44206df95e10291399d163f8447840 # Parent 799c5c824575eb84079de4243368194ae084eb40 6690000: Typo's in DataFlavor Javadoc Reviewed-by: serb, azvegint diff -r 799c5c824575 -r 033f79a3fb44 jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java --- 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. *

- * For more information on the using data transfer with Swing see + * For more information on using data transfer with Swing see * the * How to Use Drag and Drop and Data Transfer, * section in Java Tutorial. @@ -405,7 +405,7 @@ * If the mimeType is * "application/x-java-serialized-object; class=<representation class>", * the result is the same as calling - * new DataFlavor(Class:forName(<representation class>). + * new DataFlavor(Class.forName(<representation class>). *

* Otherwise: *

@@ -413,7 +413,7 @@
      *     mimeType            = mimeType
      * 
* @param mimeType the string used to identify the MIME type for this flavor; - * if the the mimeType does not specify a + * if the mimeType does not specify a * "class=" parameter, or if the class is not successfully * loaded, then an IllegalArgumentException * 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 - * new DataFlavor(Class:forName(<representation class>). + * new DataFlavor(Class.forName(<representation class>). *

* Otherwise: *