mirror of https://github.com/apache/poi.git
tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0739e608a8
commit
99047b5245
|
@ -167,7 +167,7 @@ public abstract class XDDFChartData {
|
||||||
int numOfPoints = category.getPointCount();
|
int numOfPoints = category.getPointCount();
|
||||||
if (numOfPoints != values.getPointCount()) {
|
if (numOfPoints != values.getPointCount()) {
|
||||||
throw new IllegalStateException("Category and values must have the same point count, but had " +
|
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;
|
this.categoryData = category;
|
||||||
|
|
|
@ -72,10 +72,10 @@ public class XDDFDataSourcesFactory {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPointAt(int index) {
|
public String getPointAt(int index) {
|
||||||
if (category.getPtArray().length <= index) {
|
if (category.getPtArray().length <= index) {
|
||||||
throw new IllegalArgumentException("Cannot access 0-based index " + index +
|
throw new IllegalArgumentException("Cannot access 0-based index " + index +
|
||||||
" in point-array with " + category.getPtArray().length + " items");
|
" in point-array with " + category.getPtArray().length + " items");
|
||||||
}
|
}
|
||||||
return category.getPtArray(index).getV();
|
return category.getPtArray(index).getV();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue