From 84794c877062fe0424f357be0e83bdd045d75d52 Mon Sep 17 00:00:00 2001 From: "Bonato, Martin" Date: Thu, 8 Feb 2018 14:35:39 +0100 Subject: Fix test --- .../java/at/gv/egiz/bku/slcommands/CreateCMSSignatureResult.java | 4 ++-- .../gv/egiz/bku/slcommands/impl/CreateCMSSignatureResultImpl.java | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'bkucommon/src/main') diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/CreateCMSSignatureResult.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/CreateCMSSignatureResult.java index 8f215843..6460d1e3 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/CreateCMSSignatureResult.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/CreateCMSSignatureResult.java @@ -24,10 +24,10 @@ package at.gv.egiz.bku.slcommands; -import org.w3c.dom.Element; +import org.w3c.dom.Node; public interface CreateCMSSignatureResult extends SLResult { - public Element getContent(); + public Node getContent(); } diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateCMSSignatureResultImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateCMSSignatureResultImpl.java index 6163ab39..9ae461dd 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateCMSSignatureResultImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateCMSSignatureResultImpl.java @@ -33,8 +33,6 @@ import javax.xml.transform.dom.DOMResult; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.w3c.dom.Document; -import org.w3c.dom.Element; import org.w3c.dom.Node; import at.buergerkarte.namespaces.securitylayer._1_2_3.CreateCMSSignatureResponseType; @@ -113,7 +111,7 @@ public class CreateCMSSignatureResultImpl extends SLResultImpl implements Create } @Override - public Element getContent() { - return (Element) content; + public Node getContent() { + return content; } } -- cgit v1.2.3