poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1776828 - /poi/trunk/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java
Date Sun, 01 Jan 2017 06:58:01 GMT
Author: onealj
Date: Sun Jan  1 06:58:01 2017
New Revision: 1776828

URL: http://svn.apache.org/viewvc?rev=1776828&view=rev
Log:
md5hash should not fail silently

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java?rev=1776828&r1=1776827&r2=1776828&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/ss/extractor/TestEmbeddedExtractor.java Sun
Jan  1 06:58:01 2017
@@ -109,7 +109,7 @@ public class TestEmbeddedExtractor {
             return DatatypeConverter.printBase64Binary(hash);
         } catch (NoSuchAlgorithmException e) {
             // doesn't happen
-            return "";
+            throw new RuntimeException(e);
         }
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message