[java-opensaml COMMIT] in /trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap: soap11/SOAPTest.java soap11/deco...

noreply at shibboleth.net noreply at shibboleth.net
Fri Jan 24 15:55:48 EST 2014


Author: scantor
Date: Fri Jan 24 15:55:46 2014
New Revision: 3569

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3569&view=rev
Log:
Fix javadoc warnings

Modified:
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/SOAPTest.java
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/decoder/http/HTTPSOAP11DecoderTest.java
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wspolicy/impl/WSPolicyObjectsTestCase.java
    trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wstrust/impl/WSTrustObjectsTestCase.java

Modified: trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/SOAPTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/SOAPTest.java?rev=3569&r1=3568&r2=3569&view=diff
==============================================================================
--- trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/SOAPTest.java (original)
+++ trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/SOAPTest.java Fri Jan 24 15:55:46 2014
@@ -58,7 +58,6 @@
     
     private String expectedFaultActor;
 
-    /** {@inheritDoc} */
     @BeforeMethod
     protected void setUp() throws Exception {
         soapMessage = "/data/org/opensaml/soap/soap11/SOAP.xml";
@@ -160,7 +159,6 @@
     @Test
     public void testSOAPFaultConstructAndMarshall() throws MarshallingException, XMLParserException {
         Document soapDoc = parserPool.parse(SOAPTest.class.getResourceAsStream(soapFaultMarshall));
-        Element envelopeElem = soapDoc.getDocumentElement();
         
         Envelope envelope = (Envelope) buildXMLObject(Envelope.DEFAULT_ELEMENT_NAME);
         
@@ -185,7 +183,7 @@
         Detail detail = (Detail) buildXMLObject(Detail.DEFAULT_ELEMENT_NAME);
         fault.setDetail(detail);
         
-        Element marshalledEnvelope = marshallerFactory.getMarshaller(envelope).marshall(envelope);
+        marshallerFactory.getMarshaller(envelope).marshall(envelope);
         assertXMLEquals("Marshalled DOM was not the same as control DOM", soapDoc, envelope);
         
     }

Modified: trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/decoder/http/HTTPSOAP11DecoderTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/decoder/http/HTTPSOAP11DecoderTest.java?rev=3569&r1=3568&r2=3569&view=diff
==============================================================================
--- trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/decoder/http/HTTPSOAP11DecoderTest.java (original)
+++ trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/decoder/http/HTTPSOAP11DecoderTest.java Fri Jan 24 15:55:46 2014
@@ -47,7 +47,6 @@
     
     private MockHttpServletRequest httpRequest;
     
-    /** {@inheritDoc} */
     @BeforeMethod
     protected void setUp() throws Exception {
         httpRequest = new MockHttpServletRequest();
@@ -112,8 +111,10 @@
     //
     
     /**
-     * @param string
-     * @return
+     * Get a resource relative to a class.
+     * 
+     * @param resourceName
+     * @return  resource content
      * @throws IOException 
      */
     private byte[] getServletRequestContent(String resourceName) throws IOException {

Modified: trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wspolicy/impl/WSPolicyObjectsTestCase.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wspolicy/impl/WSPolicyObjectsTestCase.java?rev=3569&r1=3568&r2=3569&view=diff
==============================================================================
--- trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wspolicy/impl/WSPolicyObjectsTestCase.java (original)
+++ trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wspolicy/impl/WSPolicyObjectsTestCase.java Fri Jan 24 15:55:46 2014
@@ -49,7 +49,6 @@
      */
     private static final QName TEST_ELEMENT_QNAME = new QName("urn:test:ns", "WildcardTest", "wct");
 
-    /** {@inheritDoc} */
     @BeforeMethod
     protected void setUp() throws Exception {
         // register provider for Test supporting config

Modified: trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wstrust/impl/WSTrustObjectsTestCase.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wstrust/impl/WSTrustObjectsTestCase.java?rev=3569&r1=3568&r2=3569&view=diff
==============================================================================
--- trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wstrust/impl/WSTrustObjectsTestCase.java (original)
+++ trunk/opensaml-soap-impl/src/test/java/org/opensaml/soap/wstrust/impl/WSTrustObjectsTestCase.java Fri Jan 24 15:55:46 2014
@@ -65,7 +65,6 @@
      */
     private static final QName TEST_CLAIMS_QNAME = new QName("urn:test:claims:ns", "TestClaim", "tc");
 
-    /** {@inheritDoc} */
     @BeforeMethod
     protected void setUp() throws Exception {

[... 2 lines stripped ...]


More information about the commits mailing list