From 5fed0edcaedad6dceca02643764c78af36061846 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Wed, 19 Oct 2016 05:07:30 +0000 Subject: [PATCH] findbugs: Switch statement found in org.apache.poi.sl.draw.DrawShape.applyTransform(Graphics2D) where default case is missing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765530 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/sl/draw/DrawShape.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/java/org/apache/poi/sl/draw/DrawShape.java b/src/java/org/apache/poi/sl/draw/DrawShape.java index ff226be906..1d0eca0008 100644 --- a/src/java/org/apache/poi/sl/draw/DrawShape.java +++ b/src/java/org/apache/poi/sl/draw/DrawShape.java @@ -135,6 +135,8 @@ public class DrawShape implements Drawable { graphics.translate(-centerX, -centerY); } break; + default: + throw new RuntimeException("unexpected transform code " + ch); } } } -- 2.39.5