From d9144dd039d7805562edbd741f6a6e45d1c342d0 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sat, 31 Aug 2019 16:19:07 +0000 Subject: [PATCH] fix typo git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866213 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/poifs/crypt/dsig/OOXMLURIDereferencer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/OOXMLURIDereferencer.java b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/OOXMLURIDereferencer.java index 6a9cf76853..b4061622e0 100644 --- a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/OOXMLURIDereferencer.java +++ b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/OOXMLURIDereferencer.java @@ -69,7 +69,7 @@ public class OOXMLURIDereferencer implements URIDereferencer, SignatureConfigura throw new NullPointerException("URIReference cannot be null"); } if (null == context) { - throw new NullPointerException("XMLCrytoContext cannot be null"); + throw new NullPointerException("XMLCryptoContext cannot be null"); } URI uri; @@ -104,7 +104,7 @@ public class OOXMLURIDereferencer implements URIDereferencer, SignatureConfigura } catch (IOException e) { throw new URIReferenceException("I/O error: " + e.getMessage(), e); } - + return new OctetStreamData(dataStream, uri.toString(), null); }