fix error message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828364 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16d25b62af
commit
af19295590
@ -102,7 +102,7 @@ public final class Offset implements Function {
|
||||
return false;
|
||||
}
|
||||
public String toString() {
|
||||
StringBuffer sb = new StringBuffer(64);
|
||||
StringBuilder sb = new StringBuilder(64);
|
||||
sb.append(getClass().getName()).append(" [");
|
||||
sb.append(_offset).append("...").append(getLastIndex());
|
||||
sb.append("]");
|
||||
|
@ -156,7 +156,7 @@ public class TestCellFormatPart extends CellFormatTestBase {
|
||||
Matcher m = NUMBER_EXTRACT_FMT.matcher(str);
|
||||
if (!m.find())
|
||||
throw new IllegalArgumentException(
|
||||
"Cannot find numer in \"" + str + "\"");
|
||||
"Cannot find number in \"" + str + "\"");
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
// The groups in the pattern are the parts of the number
|
||||
|
Loading…
Reference in New Issue
Block a user