From: Andreas Beeker Date: Mon, 6 Jun 2016 23:54:29 +0000 (+0000) Subject: sonar fix X-Git-Tag: REL_3_15_BETA2~195 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1d353c939f9a37c8d519ac1f385b59fd41630b0;p=poi.git sonar fix git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747093 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFColor.java b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFColor.java index 43034a2d1c..f519f7ec20 100644 --- a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFColor.java +++ b/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFColor.java @@ -168,6 +168,7 @@ public class XSLFColor { } } else if (ch instanceof CTFontReference) { // try next ... + continue; } else { throw new IllegalArgumentException("Unexpected color choice: " + ch.getClass()); }