summaryrefslogtreecommitdiff
path: root/bkucommon
diff options
context:
space:
mode:
authorBonato, Martin <martin.bonato@prime-sign.com>2018-02-08 14:35:39 +0100
committerBonato, Martin <martin.bonato@prime-sign.com>2018-02-08 20:46:15 +0100
commit84794c877062fe0424f357be0e83bdd045d75d52 (patch)
tree0ea2004298f15dbf881a2351102fe7648859f009 /bkucommon
parent2b8b52bde3fefe29127473f5b71dba3239a0488f (diff)
downloadmocca-84794c877062fe0424f357be0e83bdd045d75d52.tar.gz
mocca-84794c877062fe0424f357be0e83bdd045d75d52.tar.bz2
mocca-84794c877062fe0424f357be0e83bdd045d75d52.zip
Fix test
Diffstat (limited to 'bkucommon')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/CreateCMSSignatureResult.java4
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateCMSSignatureResultImpl.java6
2 files changed, 4 insertions, 6 deletions
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;
}
}