From abf3eb7d8449b332c0089538d7b35339559bf323 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 1 Jan 2017 06:58:01 +0000 Subject: [PATCH] md5hash should not fail silently git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776828 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/ss/extractor/TestEmbeddedExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java b/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java index 225e50660b..c8942965d8 100644 --- a/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java +++ b/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java @@ -109,7 +109,7 @@ public class TestEmbeddedExtractor { return DatatypeConverter.printBase64Binary(hash); } catch (NoSuchAlgorithmException e) { // doesn't happen - return ""; + throw new RuntimeException(e); } } }