--- old/src/java.xml.ws/share/classes/javax/xml/ws/WebServicePermission.java 2015-04-21 17:20:18.356098474 +0400 +++ new/src/java.xml.ws/share/classes/javax/xml/ws/WebServicePermission.java 2015-04-21 17:20:18.268098474 +0400 @@ -35,16 +35,14 @@ * with them. *

* The following permission target name is defined: - *

*

*
publishEndpoint *
+ * The {@code publishEndpoint} permission allows publishing a + * web service endpoint using the {@code publish} methods + * defined by the {@code javax.xml.ws.Endpoint} class. *

- * The publishEndpoint permission allows publishing a - * web service endpoint using the publish methods - * defined by the javax.xml.ws.Endpoint class. - *

- * Granting publishEndpoint allows the application to be + * Granting {@code publishEndpoint} allows the application to be * exposed as a network service. Depending on the security of the runtime and * the security of the application, this may introduce a security hole that * is remotely exploitable. @@ -64,7 +62,7 @@ /** * Creates a new permission with the specified name. * - * @param name the name of the WebServicePermission + * @param name the name of the {@code WebServicePermission} */ public WebServicePermission(String name) { super(name); @@ -73,11 +71,11 @@ /** * Creates a new permission with the specified name and actions. * - * The actions parameter is currently unused and - * it should be null. + * The {@code actions} parameter is currently unused and + * it should be {@code null}. * - * @param name the name of the WebServicePermission - * @param actions should be null + * @param name the name of the {@code WebServicePermission} + * @param actions should be {@code null} */ public WebServicePermission(String name, String actions) { super(name, actions);