From: Andreas Beeker Date: Wed, 16 Mar 2016 22:34:26 +0000 (+0000) Subject: sonar fixes X-Git-Tag: REL_3_15_BETA2~429 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4f2e469bef78816e465800dd4c81c8c451ff7b41;p=poi.git sonar fixes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735323 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java b/src/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java index 46eade5cfc..1d88afb38d 100644 --- a/src/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java +++ b/src/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java @@ -374,10 +374,10 @@ public final class ApacheconEU08 { public static void slide10(SlideShow ppt) throws IOException { //bar chart data. The first value is the bar color, the second is the width Object[] def = new Object[]{ - Color.yellow, new Integer(100), - Color.green, new Integer(150), - Color.gray, new Integer(75), - Color.red, new Integer(200), + Color.yellow, 100, + Color.green, 150, + Color.gray, 75, + Color.red, 200, }; Slide slide = ppt.createSlide();