]> source.dussan.org Git - poi.git/commitdiff
sonar fixes
authorAndreas Beeker <kiwiwings@apache.org>
Wed, 16 Mar 2016 22:34:26 +0000 (22:34 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Wed, 16 Mar 2016 22:34:26 +0000 (22:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735323 13f79535-47bb-0310-9956-ffa450edef68

src/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java

index 46eade5cfc5012cf4f57d4d575635759d951fc04..1d88afb38d035c58e5cd9a68fafe9c9e3f503564 100644 (file)
@@ -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();