]> source.dussan.org Git - poi.git/commitdiff
findbugs: Switch statement found in org.apache.poi.sl.draw.DrawShape.applyTransform...
authorJaven O'Neal <onealj@apache.org>
Wed, 19 Oct 2016 05:07:30 +0000 (05:07 +0000)
committerJaven O'Neal <onealj@apache.org>
Wed, 19 Oct 2016 05:07:30 +0000 (05:07 +0000)
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

index ff226be906cd5d09dec6767a61f6dafa2c4f3fbd..1d0eca0008e61017c11b6430de13f3d610541523 100644 (file)
@@ -135,6 +135,8 @@ public class DrawShape implements Drawable {
                     graphics.translate(-centerX, -centerY);\r
                 }\r
                 break;\r
+            default:\r
+                throw new RuntimeException("unexpected transform code " + ch);\r
             }\r
         }\r
     }\r