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: *