convert indents to spaces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891364 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-07-07 13:45:01 +00:00
parent 5e7d8d8483
commit f375c158d9
5 changed files with 18 additions and 18 deletions

View File

@ -31,8 +31,8 @@ public class EscherShapePathProperty extends EscherSimpleProperty {
/**
* Create an instance of an escher shape path property.
*
* @param propertyNumber which property to handle
* @param shapePath which shape path to handle
* @param propertyNumber which property to handle
* @param shapePath which shape path to handle
*/
public EscherShapePathProperty( short propertyNumber, int shapePath ) {
super( propertyNumber, false, false, shapePath );

View File

@ -68,8 +68,8 @@ public class ClassID implements Duplicatable, GenericRecord {
/**
* Clones the given ClassID
*
* @param other The ClassID to use a base for creating this one
*
* @param other The ClassID to use a base for creating this one
*/
public ClassID(ClassID other) {
System.arraycopy(other.bytes, 0, bytes, 0, bytes.length);

View File

@ -121,8 +121,8 @@ public final class FormulaRecord extends CellRecord {
}
/**
* @return The type of the cached value or CellType.NUMERIC.getCode() if the cached value is empty
*
* @return The type of the cached value or CellType.NUMERIC.getCode() if the cached value is empty
*
* @deprecated POI 5.0.0, will be removed in 6.0, use getCachedResultTypeEnum until switch to enum is fully done
*/
@Deprecated
@ -136,8 +136,8 @@ public final class FormulaRecord extends CellRecord {
/**
* Returns the type of the cached result
*
* @return The type of the cached value or CellType.NUMERIC if the cached value is empty
*
* @return The type of the cached value or CellType.NUMERIC if the cached value is empty
* @since POI 5.0.0
*/
public CellType getCachedResultTypeEnum() {

View File

@ -82,14 +82,14 @@ final class TestOperandResolver {
values.put("18-Jan-2019", 43483.);
for (String str : values.keySet()) {
try {
assertEquals(OperandResolver.coerceValueToDouble(new StringEval(str)), values.get(str), 0.00001);
} catch (EvaluationException e) {
fail("While handling: " + str + ". "
+ "This failure can indicate that the wrong locale is used during test-execution, "
+ "ensure you run with english/US via -Duser.language=en -Duser.country=US. "
+ "Having: " + System.getProperty("user.language") + "/" + System.getProperty("user.country"), e);
}
try {
assertEquals(OperandResolver.coerceValueToDouble(new StringEval(str)), values.get(str), 0.00001);
} catch (EvaluationException e) {
fail("While handling: " + str + ". "
+ "This failure can indicate that the wrong locale is used during test-execution, "
+ "ensure you run with english/US via -Duser.language=en -Duser.country=US. "
+ "Having: " + System.getProperty("user.language") + "/" + System.getProperty("user.country"), e);
}
}
}

View File

@ -79,8 +79,8 @@ class TestDataFormatter {
CellFormatResult result = cfmt.apply(cellValueO);
assertEquals(" 1,234.56 ", result.text,
"This failure can indicate that the wrong locale is used during test-execution, "
+ "ensure you run with english/US via -Duser.language=en -Duser.country=US. "
+ "Having: " + System.getProperty("user.language") + "/" + System.getProperty("user.country"));
+ "ensure you run with english/US via -Duser.language=en -Duser.country=US. "
+ "Having: " + System.getProperty("user.language") + "/" + System.getProperty("user.country"));
}
/**