--- a/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/StandardOperation.java Fri Apr 21 03:33:55 2017 +0000
+++ b/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/StandardOperation.java Wed Apr 26 10:56:28 2017 -0700
@@ -95,8 +95,8 @@
/**
* Get the value from a namespace defined on an object. Call sites with this
* operation should have a signature of
- * <tt>(receiver, name)→value</tt> or
- * <tt>(receiver)→value</tt> when used with {@link NamedOperation}, with
+ * <code>(receiver, name)→value</code> or
+ * <code>(receiver)→value</code> when used with {@link NamedOperation}, with
* all parameters and return type being of any type (either primitive or
* reference). This operation must always be used as part of a {@link NamespaceOperation}.
*/
@@ -104,21 +104,21 @@
/**
* Set the value in a namespace defined on an object. Call sites with this
* operation should have a signature of
- * <tt>(receiver, name, value)→void</tt> or
- * <tt>(receiver, value)→void</tt> when used with {@link NamedOperation},
+ * <code>(receiver, name, value)→void</code> or
+ * <code>(receiver, value)→void</code> when used with {@link NamedOperation},
* with all parameters and return type being of any type (either primitive
* or reference). This operation must always be used as part of a {@link NamespaceOperation}.
*/
SET,
/**
* Call a callable object. Call sites with this operation should have a
- * signature of <tt>(callable, receiver, arguments...)→value</tt>,
+ * signature of <code>(callable, receiver, arguments...)→value</code>,
* with all parameters and return type being of any type (either primitive or
* reference). Typically, the callables are presumed to be methods of an object, so
* an explicit receiver value is always passed to the callable before the arguments.
* If a callable has no concept of a receiver, it is free to ignore the value of the
* receiver argument.
- * The <tt>CALL</tt> operation is allowed to be used with a
+ * The {@code CALL} operation is allowed to be used with a
* {@link NamedOperation} even though it does not take a name. Using it with
* a named operation won't affect its signature; the name is solely meant to
* be used as a diagnostic description for error messages.
@@ -126,9 +126,9 @@
CALL,
/**
* Call a constructor object. Call sites with this operation should have a
- * signature of <tt>(constructor, arguments...)→value</tt>, with all
+ * signature of <code>(constructor, arguments...)→value</code>, with all
* parameters and return type being of any type (either primitive or
- * reference). The <tt>NEW</tt> operation is allowed to be used with a
+ * reference). The {@code NEW} operation is allowed to be used with a
* {@link NamedOperation} even though it does not take a name. Using it with
* a named operation won't affect its signature; the name is solely meant to
* be used as a diagnostic description for error messages.