git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866213 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2019-08-31 16:19:07 +00:00
parent 59edd12377
commit d9144dd039
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}