From 4ed96136ecae46af08afa8db15ac2423a80c59b5 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 225e50660..c8942965d 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); } } }