--- old/src/java.activation/share/classes/javax/activation/CommandMap.java 2015-04-20 18:00:52.244167470 +0400 +++ new/src/java.activation/share/classes/javax/activation/CommandMap.java 2015-04-20 18:00:52.120167470 +0400 @@ -46,7 +46,6 @@ /** * Get the default CommandMap. - *
* *
MailcapCommandMap
and
+ * creates an instance of {@code MailcapCommandMap} and
* set that to the default, returning its value.
*
* null
.
+ * calling this method with {@code null}.
*
* @param commandMap The new default CommandMap.
* @exception SecurityException if the caller doesn't have permission
@@ -118,10 +117,10 @@
* Get the preferred command list from a MIME Type. The actual semantics
* are determined by the implementation of the CommandMap.
*
- * The DataSource
provides extra information, such as
+ * The {@code DataSource} provides extra information, such as
* the file name, that a CommandMap implementation may use to further
* refine the list of commands that are returned. The implementation
- * in this class simply calls the getPreferredCommands
+ * in this class simply calls the {@code getPreferredCommands}
* method that ignores this argument.
*
* @param mimeType the MIME type
@@ -146,10 +145,10 @@
* Get all the available commands for this type. This method
* should return all the possible commands for this MIME type.
*
- * The DataSource
provides extra information, such as
+ * The {@code DataSource} provides extra information, such as
* the file name, that a CommandMap implementation may use to further
* refine the list of commands that are returned. The implementation
- * in this class simply calls the getAllCommands
+ * in this class simply calls the {@code getAllCommands}
* method that ignores this argument.
*
* @param mimeType the MIME type
@@ -173,10 +172,10 @@
/**
* Get the default command corresponding to the MIME type.
*
- * The DataSource
provides extra information, such as
+ * The {@code DataSource} provides extra information, such as
* the file name, that a CommandMap implementation may use to further
* refine the command that is chosen. The implementation
- * in this class simply calls the getCommand
+ * in this class simply calls the {@code getCommand}
* method that ignores this argument.
*
* @param mimeType the MIME type
@@ -206,10 +205,10 @@
* The mechanism and semantics for determining this are determined
* by the implementation of the particular CommandMap.
*
- * The DataSource
provides extra information, such as
+ * The {@code DataSource} provides extra information, such as
* the file name, that a CommandMap implementation may use to further
* refine the choice of DataContentHandler. The implementation
- * in this class simply calls the createDataContentHandler
+ * in this class simply calls the {@code createDataContentHandler}
* method that ignores this argument.
*
* @param mimeType the MIME type