mirror of https://github.com/apache/poi.git
minor code improvement
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894364 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba08e1a46c
commit
646fb8c690
|
@ -72,9 +72,9 @@ public class XDDFDataSourcesFactory {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPointAt(int index) {
|
public String getPointAt(int index) {
|
||||||
if (category.getPtArray().length <= index) {
|
if (category.sizeOfPtArray() <= 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.sizeOfPtArray() + " items");
|
||||||
}
|
}
|
||||||
return category.getPtArray(index).getV();
|
return category.getPtArray(index).getV();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue