[java-support] branch master updated: JSPT-75 Remove accidental dependency on J2EE

Rod Widdowson rdw at steadingsoftware.com
Mon Oct 9 09:26:06 EDT 2017


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=457264eb46e38644cbf6884a16c0644c0858fed7

The following commit(s) were added to refs/heads/master by this push:
       new  457264e   JSPT-75 Remove accidental dependency on J2EE
457264e is described below

commit 457264eb46e38644cbf6884a16c0644c0858fed7
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Oct 9 14:21:08 2017 +0100

    JSPT-75 Remove accidental dependency on J2EE
    
    https://issues.shibboleth.net/jira/browse/JSPT-75
    
    c&p will do that to you.
---
 .../utilities/java/support/xml/SerializeSupportTest.java          | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/test/java/net/shibboleth/utilities/java/support/xml/SerializeSupportTest.java b/src/test/java/net/shibboleth/utilities/java/support/xml/SerializeSupportTest.java
index de0df3b..7e20afd 100644
--- a/src/test/java/net/shibboleth/utilities/java/support/xml/SerializeSupportTest.java
+++ b/src/test/java/net/shibboleth/utilities/java/support/xml/SerializeSupportTest.java
@@ -23,7 +23,6 @@ import java.io.IOException;
 import java.io.StringReader;
 
 import javax.xml.parsers.DocumentBuilder;
-import javax.xml.soap.Text;
 
 import org.springframework.core.io.ClassPathResource;
 import org.springframework.core.io.Resource;
@@ -128,12 +127,7 @@ public class SerializeSupportTest {
                 final Node actualChild = actualChildren.item(i);
                 assertEquals(expectedChild, actualChild);
             }
-        } else if (expected instanceof Text) {
-            final String expectedData = ((Text) expected).getData().trim();
-            final String actualData = ((Text) actual).getData().trim();
-
-            Assert.assertEquals(expectedData, actualData, "Text does not match: " + expectedData + " " + actualData);
-        }
+        } 
     }
 
     @BeforeTest public void setup()

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list