From: PJ Fanning Date: Wed, 7 Jul 2021 13:45:01 +0000 (+0000) Subject: convert indents to spaces X-Git-Tag: REL_5_1_0~154 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f375c158d9e258e924698e5fe7cfa3677912c3df;p=poi.git convert indents to spaces git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891364 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi/src/main/java/org/apache/poi/ddf/EscherShapePathProperty.java b/poi/src/main/java/org/apache/poi/ddf/EscherShapePathProperty.java index 833d4ef19d..774c408eb8 100644 --- a/poi/src/main/java/org/apache/poi/ddf/EscherShapePathProperty.java +++ b/poi/src/main/java/org/apache/poi/ddf/EscherShapePathProperty.java @@ -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 ); diff --git a/poi/src/main/java/org/apache/poi/hpsf/ClassID.java b/poi/src/main/java/org/apache/poi/hpsf/ClassID.java index 81430cbbe4..aaf45554ae 100644 --- a/poi/src/main/java/org/apache/poi/hpsf/ClassID.java +++ b/poi/src/main/java/org/apache/poi/hpsf/ClassID.java @@ -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); diff --git a/poi/src/main/java/org/apache/poi/hssf/record/FormulaRecord.java b/poi/src/main/java/org/apache/poi/hssf/record/FormulaRecord.java index b0c3178f4e..efb65e9f93 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/FormulaRecord.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/FormulaRecord.java @@ -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() { diff --git a/poi/src/test/java/org/apache/poi/ss/formula/eval/TestOperandResolver.java b/poi/src/test/java/org/apache/poi/ss/formula/eval/TestOperandResolver.java index 8df9ab69a9..bba36e207a 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/eval/TestOperandResolver.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/eval/TestOperandResolver.java @@ -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); + } } } diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/TestDataFormatter.java b/poi/src/test/java/org/apache/poi/ss/usermodel/TestDataFormatter.java index 6a4d1135eb..a3bb0684ad 100644 --- a/poi/src/test/java/org/apache/poi/ss/usermodel/TestDataFormatter.java +++ b/poi/src/test/java/org/apache/poi/ss/usermodel/TestDataFormatter.java @@ -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")); } /**