From 0ec7b5fb944dad52d2e678cf49774426db2b8167 Mon Sep 17 00:00:00 2001 From: Petr Pchelko Date: Tue, 8 Apr 2014 14:02:30 +0400 Subject: [PATCH] 6690000: Typo's in DataFlavor Javadoc Reviewed-by: serb, azvegint --- .../share/classes/java/awt/datatransfer/DataFlavor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java b/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java index d1f8674ce43..57132f2f53e 100644 --- a/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java +++ b/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java @@ -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. *

- * 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 @@ 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 - * new DataFlavor(Class:forName(<representation class>). + * new DataFlavor(Class.forName(<representation class>). *

* Otherwise: *

@@ -413,7 +413,7 @@ public class DataFlavor implements Externalizable, Cloneable {
      *     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 @@ 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 - * new DataFlavor(Class:forName(<representation class>). + * new DataFlavor(Class.forName(<representation class>). *

* Otherwise: *