--- old/src/java.xml.ws/share/classes/javax/xml/ws/soap/AddressingFeature.java 2015-04-21 17:20:19.424098473 +0400 +++ new/src/java.xml.ws/share/classes/javax/xml/ws/soap/AddressingFeature.java 2015-04-21 17:20:19.336098473 +0400 @@ -52,10 +52,10 @@ * receiver. * *

- * If the feature is enabled, the required property determines + * If the feature is enabled, the {@code required} property determines * whether the endpoint requires WS-Addressing. If it is set true, * WS-Addressing headers MUST be present on incoming and outgoing messages. - * By default the required property is false. + * By default the {@code required} property is {@code false}. * *

* If the web service developer has not explicitly enabled this feature, @@ -75,31 +75,31 @@ * *

* Example 1: Possible Policy Assertion in the generated WSDL for - * @Addressing - *

- *   <wsam:Addressing wsp:Optional="true">
- *     <wsp:Policy/>
- *   </wsam:Addressing>
+ * {@code @Addressing}
+ * 
 {@code
+ *   
+ *     
+ *    }
  * 
* *

* Example 2: Possible Policy Assertion in the generated WSDL for - * @Addressing(required=true) - *

- *   <wsam:Addressing>
- *     <wsp:Policy/>
- *   </wsam:Addressing>
+ * {@code @Addressing(required=true)}
+ * 
 {@code
+ *   
+ *     
+ *    }
  * 
* *

* Example 3: Possible Policy Assertion in the generated WSDL for - * @Addressing(required=true, responses=Responses.ANONYMOUS) - *

- *   <wsam:Addressing>
- *      <wsp:Policy>
- *        <wsam:AnonymousResponses/>
- *      </wsp:Policy>
- *   </wsam:Addressing>
+ * {@code @Addressing(required=true, responses=Responses.ANONYMOUS)}
+ * 
 {@code
+ *   
+ *      
+ *        
+ *      
+ *    }
  * 
* *

@@ -181,7 +181,7 @@ private final Responses responses; /** - * Creates and configures an AddressingFeature with the + * Creates and configures an {@code AddressingFeature} with the * use of addressing requirements. The created feature enables * ws-addressing i.e. supports ws-addressing but doesn't require * its use. It is also configured to accept all the response types. @@ -191,8 +191,8 @@ } /** - * Creates and configures an AddressingFeature with the - * use of addressing requirements. If enabled is true, + * Creates and configures an {@code AddressingFeature} with the + * use of addressing requirements. If {@code enabled} is true, * it enables ws-addressing i.e. supports ws-addressing but doesn't * require its use. It also configures to accept all the response types. * @@ -204,9 +204,9 @@ } /** - * Creates and configures an AddressingFeature with the - * use of addressing requirements. If enabled and - * required are true, it enables ws-addressing and + * Creates and configures an {@code AddressingFeature} with the + * use of addressing requirements. If {@code enabled} and + * {@code required} are true, it enables ws-addressing and * requires its use. It also configures to accept all the response types. * * @param enabled true enables ws-addressing i.e.ws-addressing @@ -218,11 +218,11 @@ } /** - * Creates and configures an AddressingFeature with the - * use of addressing requirements. If enabled and - * required are true, it enables ws-addressing and + * Creates and configures an {@code AddressingFeature} with the + * use of addressing requirements. If {@code enabled} and + * {@code required} are true, it enables ws-addressing and * requires its use. Also, the response types can be configured using - * responses parameter. + * {@code responses} parameter. * * @param enabled true enables ws-addressing i.e.ws-addressing * is supported but doesn't require its use @@ -260,7 +260,6 @@ * requires the use of anonymous responses, or non-anonymous responses, * or all responses. * - *

* @return {@link Responses#ALL} when endpoint supports all types of * responses, * {@link Responses#ANONYMOUS} when endpoint requires the use of