diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-06-28 11:55:29 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-06-28 11:55:29 +0000 |
commit | 273067b10390b40d1ebb09f9092f68a73ee171d8 (patch) | |
tree | 21314fcb2eae6b5e05d2d785d7824caf224271d3 /poi | |
parent | f331d08c228538a48c1aa9f00f63af2f1daee91d (diff) | |
download | poi-273067b10390b40d1ebb09f9092f68a73ee171d8.tar.gz poi-273067b10390b40d1ebb09f9092f68a73ee171d8.zip |
apply some spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910659 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
9 files changed, 15 insertions, 15 deletions
diff --git a/poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java b/poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java index 5c94c4c892..b3c6ef0514 100644 --- a/poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java +++ b/poi/src/main/java/org/apache/poi/extractor/ExtractorFactory.java @@ -95,7 +95,7 @@ public final class ExtractorFactory { * (usermodel extractors tend to be more accurate, but use more memory) * Default is false. * - * @return true if event extractors should be preferred in the current thread, fals otherwise. + * @return true if event extractors should be preferred in the current thread, false otherwise. */ public static boolean getThreadPrefersEventExtractors() { return threadPreferEventExtractors.get(); @@ -106,7 +106,7 @@ public final class ExtractorFactory { * (usermodel extractors tend to be more accurate, but use more memory) * Default is to use the thread level setting, which defaults to false. * - * @return true if event extractors should be preferred in all threads, fals otherwise. + * @return true if event extractors should be preferred in all threads, false otherwise. */ public static Boolean getAllThreadsPreferEventExtractors() { return allPreferEventExtractors; diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index b263001450..fe1c703ba3 100644 --- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -512,7 +512,7 @@ public final class HSSFSheet implements Sheet { * using the default font (first font in the workbook).<p> * * Unless you are using a very special font, the default character is '0' (zero), - * this is true for Arial (default font font in HSSF) and Calibri (default font in XSSF)<p> + * this is true for Arial (default font in HSSF) and Calibri (default font in XSSF)<p> * * Please note, that the width set by this method includes 4 pixels of margin padding (two on each side), * plus 1 pixel padding for the gridlines (Section 3.3.1.12 of the OOXML spec). diff --git a/poi/src/main/java/org/apache/poi/sl/usermodel/TextRun.java b/poi/src/main/java/org/apache/poi/sl/usermodel/TextRun.java index 85a7679c30..2c8f4b6df5 100644 --- a/poi/src/main/java/org/apache/poi/sl/usermodel/TextRun.java +++ b/poi/src/main/java/org/apache/poi/sl/usermodel/TextRun.java @@ -105,7 +105,7 @@ public interface TextRun { /** * Get the font family - convenience method for {@link #getFontInfo(FontGroup)} * - * @param fontGroup the font group, i.e. the range of glpyhs to be covered. + * @param fontGroup the font group, i.e. the range of glyphs to be covered. * if {@code null}, the font group matching the first character will be returned * * @return font family or null if not set @@ -127,7 +127,7 @@ public interface TextRun { * * @param typeface the font to apply to this text run. * The value of {@code null} removes the run specific font setting, so the default setting is activated again. - * @param fontGroup the font group, i.e. the range of glpyhs to be covered. + * @param fontGroup the font group, i.e. the range of glyphs to be covered. * if {@code null}, the font group matching the first character will be returned */ void setFontFamily(String typeface, FontGroup fontGroup); @@ -135,7 +135,7 @@ public interface TextRun { /** * Get the font info for the given font group * - * @param fontGroup the font group, i.e. the range of glpyhs to be covered. + * @param fontGroup the font group, i.e. the range of glyphs to be covered. * if {@code null}, the font group matching the first character will be returned * @return font info or {@code null} if not set * @@ -148,7 +148,7 @@ public interface TextRun { * * @param fontInfo the font to apply to this text run. * The value of {@code null} removes the run specific font setting, so the default setting is activated again. - * @param fontGroup the font group, i.e. the range of glpyhs to be covered. defaults to latin, if {@code null}. + * @param fontGroup the font group, i.e. the range of glyphs to be covered. defaults to latin, if {@code null}. * * @since POI 3.17-beta2 */ diff --git a/poi/src/main/java/org/apache/poi/ss/formula/SharedFormula.java b/poi/src/main/java/org/apache/poi/ss/formula/SharedFormula.java index aca085565e..65aef2b6b4 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/SharedFormula.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/SharedFormula.java @@ -20,7 +20,7 @@ import org.apache.poi.ss.formula.ptg.*; import org.apache.poi.ss.SpreadsheetVersion; /** - * Encapsulates logic to convert shared formulaa into non shared equivalent + * Encapsulates logic to convert shared formula into non shared equivalent */ public class SharedFormula { diff --git a/poi/src/main/java/org/apache/poi/ss/formula/functions/FinanceLib.java b/poi/src/main/java/org/apache/poi/ss/formula/functions/FinanceLib.java index c5920cd039..915fb9af23 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/functions/FinanceLib.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/functions/FinanceLib.java @@ -18,7 +18,7 @@ package org.apache.poi.ss.formula.functions; /** - * This class is a functon library for common fiscal functions. + * This class is a function library for common fiscal functions. * <b>Glossary of terms/abbreviations:</b> * <br> * <ul> diff --git a/poi/src/main/java/org/apache/poi/ss/usermodel/FormulaError.java b/poi/src/main/java/org/apache/poi/ss/usermodel/FormulaError.java index 744f4afb60..5ffdd6e47e 100644 --- a/poi/src/main/java/org/apache/poi/ss/usermodel/FormulaError.java +++ b/poi/src/main/java/org/apache/poi/ss/usermodel/FormulaError.java @@ -114,7 +114,7 @@ public enum FormulaError { */ CIRCULAR_REF(0xFFFFFFC4, "~CIRCULAR~REF~"), /** - * POI specific code to indicate that the funcition required is + * POI specific code to indicate that the function required is * not implemented in POI */ FUNCTION_NOT_IMPLEMENTED(0xFFFFFFE2, "~FUNCTION~NOT~IMPLEMENTED~"); diff --git a/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java b/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java index f3141a8162..68d2c21962 100644 --- a/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java +++ b/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java @@ -160,7 +160,7 @@ public interface Sheet extends Iterable<Row> { * using the default font (first font in the workbook).<p> * * Unless you are using a very special font, the default character is '0' (zero), - * this is true for Arial (default font font in HSSF) and Calibri (default font in XSSF)<p> + * this is true for Arial (default font in HSSF) and Calibri (default font in XSSF)<p> * * Please note, that the width set by this method includes 4 pixels of margin padding (two on each side), * plus 1 pixel padding for the gridlines (Section 3.3.1.12 of the OOXML spec). diff --git a/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java b/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java index d2a1b791d1..743e5eeca2 100644 --- a/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java +++ b/poi/src/test/java/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java @@ -39,7 +39,7 @@ final class TestLinkedDataRecord { The first record links to the series title (linkType = 0). It's reference type is 1 which means that it links directly to data entered - into the forumula bar. There seems to be no reference to any data + into the formula bar. There seems to be no reference to any data however. The formulaOfLink field contains two 0 bytes. This probably means that there is no particular heading set. diff --git a/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java b/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java index 6e5f0645df..56ac92f641 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java @@ -168,8 +168,8 @@ public final class ExcelFileFormatDocFunctionExtractor { _groupFunctionNames = new HashSet<>(); } - public void addFuntion(int funcIx, boolean hasFootnote, String funcName, int minParams, int maxParams, - String returnClass, String paramClasses, String volatileFlagStr) { + public void addFunction(int funcIx, boolean hasFootnote, String funcName, int minParams, int maxParams, + String returnClass, String paramClasses, String volatileFlagStr) { boolean isVolatile = volatileFlagStr.length() > 0; Integer funcIxKey = Integer.valueOf(funcIx); @@ -360,7 +360,7 @@ public final class ExcelFileFormatDocFunctionExtractor { String paramClasses = cellData[i + 5]; String volatileFlagStr = cellData[i + 6]; - _fdc.addFuntion(funcIx, hasFootnote, funcName, minParams, maxParams, returnClass, paramClasses, volatileFlagStr); + _fdc.addFunction(funcIx, hasFootnote, funcName, minParams, maxParams, returnClass, paramClasses, volatileFlagStr); } private static int parseInt(String valStr) { |