]> source.dussan.org Git - poi.git/commitdiff
tabs to spaces
authorPJ Fanning <fanningpj@apache.org>
Fri, 10 Sep 2021 08:46:10 +0000 (08:46 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 10 Sep 2021 08:46:10 +0000 (08:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893219 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java
poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFDataSourcesFactory.java

index e93cd01e1dd257c08d0b600169d0d97269a5c2aa..3074f4f48601b63934f98d4d31cf547cafe54eb6 100644 (file)
@@ -167,7 +167,7 @@ public abstract class XDDFChartData {
                 int numOfPoints = category.getPointCount();
                 if (numOfPoints != values.getPointCount()) {
                     throw new IllegalStateException("Category and values must have the same point count, but had " +
-                                                       numOfPoints + " categories and " + values.getPointCount() + " values.");
+                            numOfPoints + " categories and " + values.getPointCount() + " values.");
                 }
             }
             this.categoryData = category;
index db5dda65b350203d8c079da780d195759b4e46f7..722628b12d917e6805587e9096e6242461e8db96 100644 (file)
@@ -72,10 +72,10 @@ public class XDDFDataSourcesFactory {
 
                 @Override
                 public String getPointAt(int index) {
-                                       if (category.getPtArray().length <= index) {
-                                               throw new IllegalArgumentException("Cannot access 0-based index " + index +
-                                                               " in point-array with " + category.getPtArray().length + " items");
-                                       }
+                    if (category.getPtArray().length <= index) {
+                        throw new IllegalArgumentException("Cannot access 0-based index " + index +
+                                " in point-array with " + category.getPtArray().length + " items");
+                    }
                     return category.getPtArray(index).getV();
                 }