summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-09-10 08:46:10 +0000
committerPJ Fanning <fanningpj@apache.org>2021-09-10 08:46:10 +0000
commit99047b5245ea588419cd45b8a8ac3a1ca15494ea (patch)
treeaf55c616b96f99bbaa40883586c0ea1521aaa297
parent0739e608a86a889f9c7c8c4eaf2ac9b68fe8bbeb (diff)
downloadpoi-99047b5245ea588419cd45b8a8ac3a1ca15494ea.tar.gz
poi-99047b5245ea588419cd45b8a8ac3a1ca15494ea.zip
tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893219 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java2
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFDataSourcesFactory.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java
index e93cd01e1d..3074f4f486 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java
@@ -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;
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFDataSourcesFactory.java b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFDataSourcesFactory.java
index db5dda65b3..722628b12d 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFDataSourcesFactory.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFDataSourcesFactory.java
@@ -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();
}