diff options
author | Dominik Stadler <centic@apache.org> | 2024-12-25 08:13:10 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2024-12-25 08:13:10 +0000 |
commit | d7ca791acea90773adb3cfbdf5099c076e51ab9f (patch) | |
tree | dfc2fdfbd65691a0a05b89a18a8fa637cc9248de | |
parent | b92a912e7df3a6bef54541e57e285f6d92686327 (diff) | |
download | poi-d7ca791acea90773adb3cfbdf5099c076e51ab9f.tar.gz poi-d7ca791acea90773adb3cfbdf5099c076e51ab9f.zip |
Apply some spelling fixes from GitHub PR #480
Some suggested changes are too invasive so we
can only pick some changes semi-automatically
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922678 13f79535-47bb-0310-9956-ffa450edef68
32 files changed, 38 insertions, 38 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusDraw.java b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusDraw.java index 9bcc88382e..e5461af291 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusDraw.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusDraw.java @@ -703,7 +703,7 @@ public final class HemfPlusDraw { int size = 4 * LittleEndianConsts.INT_SIZE; - // TOOD: implement Non-Cmap-Lookup correctly + // TODO: implement Non-Cmap-Lookup correctly // If the CMAP_LOOKUP flag in the optionsFlags field is set, each value in this array specifies a // Unicode character. Otherwise, each value specifies an index to a character glyph in the EmfPlusFont diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/PPTXMLDump.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/PPTXMLDump.java index fff6523b85..fe3788063d 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/PPTXMLDump.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/PPTXMLDump.java @@ -207,7 +207,7 @@ public final class PPTXMLDump { if (arg.startsWith("-")) { if ("-f".equals(arg)) { - //write ouput to a file + //write output to a file outFile = true; } } else { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowDumper.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowDumper.java index c3c6e4a146..8b43555d07 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowDumper.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowDumper.java @@ -152,7 +152,7 @@ public final class SlideShowDumper { // If it has a length, depending on its type it may have children or data // If it has children, these will follow straight away // <xx xx yy yy zz zz zz zz <xx xx yy yy zz zz zz zz>> - // If it has data, this will come straigh after, and run for the length + // If it has data, this will come straight after, and run for the length // <xx xx yy yy zz zz zz zz dd dd dd dd dd dd dd> // All lengths given exclude the 8 byte record header // (Data records are known as Atoms) diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowRecordDumper.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowRecordDumper.java index c7cecd8b37..30242ba081 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowRecordDumper.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/dev/SlideShowRecordDumper.java @@ -37,7 +37,7 @@ import org.apache.poi.util.HexDump; /** * This class provides a way to view the contents of a powerpoint file. - * It will use the recored layer to grok the contents of the file, and + * It will use the record layer to grok the contents of the file, and * will print out what it finds. */ public final class SlideShowRecordDumper { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/model/textproperties/TextPFException9.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/model/textproperties/TextPFException9.java index 63d0adcf06..0b07718ded 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/model/textproperties/TextPFException9.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/model/textproperties/TextPFException9.java @@ -32,7 +32,7 @@ import org.apache.poi.util.LittleEndian; /** * This structure store text autonumber scheme and start number. * If a paragraph has an autonumber(fBulletHasAutoNumber = 0x0001) but start number and scheme are empty, - * this means the default values will be used: statNumber=1 and sheme=ANM_ArabicPeriod + * this means the default values will be used: statNumber=1 and scheme=ANM_ArabicPeriod * @see <a href="http://social.msdn.microsoft.com/Forums/mr-IN/os_binaryfile/thread/650888db-fabd-4b95-88dc-f0455f6e2d28"> * http://social.msdn.microsoft.com/Forums/mr-IN/os_binaryfile/thread/650888db-fabd-4b95-88dc-f0455f6e2d28</a> */ diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ColorSchemeAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ColorSchemeAtom.java index 2b4561c2f5..a8f39f0ecc 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ColorSchemeAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ColorSchemeAtom.java @@ -95,7 +95,7 @@ public final class ColorSchemeAtom extends RecordAtom { /* *************** record code follows ********************** */ /** - * For the Colour Scheme (ColorSchem) Atom + * For the Colour Scheme (ColorScheme) Atom */ protected ColorSchemeAtom(byte[] source, int start, int len) { // Sanity Checking - we're always 40 bytes long diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/CurrentUserAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/CurrentUserAtom.java index 27e79a0fd3..aca49a6ad0 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/CurrentUserAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/CurrentUserAtom.java @@ -129,7 +129,7 @@ public class CurrentUserAtom { // If it's clearly junk, bail out if(docProps.getSize() > 131072) { - throw new CorruptPowerPointFileException("The Current User stream is implausably long. It's normally 28-200 bytes long, but was " + docProps.getSize() + " bytes"); + throw new CorruptPowerPointFileException("The Current User stream is implausibly long. It's normally 28-200 bytes long, but was " + docProps.getSize() + " bytes"); } // Grab the contents diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExEmbedAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExEmbedAtom.java index 247b14900d..de06c9c99c 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExEmbedAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExEmbedAtom.java @@ -135,7 +135,7 @@ public class ExEmbedAtom extends RecordAtom { } /** - * Getswhether the object is a Word table. + * Gets whether the object is a Word table. * * @return {@code true} if the object is a Word table. */ diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExHyperlinkAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExHyperlinkAtom.java index e73f7cbaf5..6829c36814 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExHyperlinkAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExHyperlinkAtom.java @@ -28,7 +28,7 @@ import org.apache.poi.util.IOUtils; import org.apache.poi.util.LittleEndian; /** - * Tne atom that holds metadata on a specific Link in the document. + * The atom that holds metadata on a specific Link in the document. * (The actual link is held in a sibling CString record) */ public final class ExHyperlinkAtom extends RecordAtom { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExObjList.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExObjList.java index 160f6bd428..9b7636fd39 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExObjList.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/ExObjList.java @@ -24,7 +24,7 @@ import java.util.Arrays; import org.apache.poi.util.LittleEndian; /** - * This class holds the links to exernal objects referenced from the document. + * This class holds the links to external objects referenced from the document. */ public class ExObjList extends RecordContainer { private byte[] _header; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/InteractiveInfoAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/InteractiveInfoAtom.java index fe48a9395f..d95a55ede9 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/InteractiveInfoAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/InteractiveInfoAtom.java @@ -31,7 +31,7 @@ import org.apache.poi.util.IOUtils; import org.apache.poi.util.LittleEndian; /** - * Tne atom that holds metadata on Links in the document. + * The atom that holds metadata on Links in the document. * (The actual link is held Document.ExObjList.ExHyperlink) */ public class InteractiveInfoAtom extends RecordAtom { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OEPlaceholderAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OEPlaceholderAtom.java index 28247886a7..cedf9081c3 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OEPlaceholderAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OEPlaceholderAtom.java @@ -97,7 +97,7 @@ public final class OEPlaceholderAtom extends RecordAtom{ * Returns the placement Id.<p> * * The placement Id is a number assigned to the placeholder. It goes from -1 to the number of placeholders. - * It SHOULD be unique among all PlacholderAtom records contained in the corresponding slide. + * It SHOULD be unique among all PlaceholderAtom records contained in the corresponding slide. * The value 0xFFFFFFFF specifies that the corresponding shape is not a placeholder shape. * * @return the placement Id. @@ -110,7 +110,7 @@ public final class OEPlaceholderAtom extends RecordAtom{ * Sets the placement Id.<p> * * The placement Id is a number assigned to the placeholder. It goes from -1 to the number of placeholders. - * It SHOULD be unique among all PlacholderAtom records contained in the corresponding slide. + * It SHOULD be unique among all PlaceholderAtom records contained in the corresponding slide. * The value 0xFFFFFFFF specifies that the corresponding shape is not a placeholder shape. * * @param id the placement Id. diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OutlineTextRefAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OutlineTextRefAtom.java index e56a9aec16..624f5b50d9 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OutlineTextRefAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/OutlineTextRefAtom.java @@ -32,7 +32,7 @@ import org.apache.poi.util.LittleEndian; * What MSDN says about <code>OutlineTextRefAtom</code>: * <p> * Appears in a slide to indicate a text that is already contained in the document, - * in a SlideListWithText containter. Sometimes slide texts are not contained + * in a SlideListWithText container. Sometimes slide texts are not contained * within the slide container to be able to delay loading a slide and still display * the title and body text in outline view. */ diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Record.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Record.java index 33907c3ff7..c1271d2058 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Record.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Record.java @@ -166,7 +166,7 @@ public abstract class Record implements GenericRecord // We use the RecordTypes class to provide us with the right // class to use for a given type // A spot of reflection gets us the (byte[],int,int) constructor - // From there, we instanciate the class + // From there, we instantiate the class // Any special record handling occurs once we have the class RecordTypes recordType = RecordTypes.forTypeID((short) type); RecordConstructor<?> c = recordType.recordConstructor; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideListWithText.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideListWithText.java index c937edb21b..d90532ff13 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideListWithText.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideListWithText.java @@ -38,7 +38,7 @@ import org.apache.poi.util.LittleEndian; * and then the next SlidePersistAtom. * * Eventually, Slides will find the blocks that interest them from all - * the SlideListWithText entries, and refere to them + * the SlideListWithText entries, and refer to them * * For now, we scan through looking for interesting bits, then creating * the helpful Sheet from model for them diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/TxInteractiveInfoAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/TxInteractiveInfoAtom.java index 995c7b9e3e..5577ea2311 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/TxInteractiveInfoAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/TxInteractiveInfoAtom.java @@ -28,7 +28,7 @@ import org.apache.poi.util.IOUtils; import org.apache.poi.util.LittleEndian; /** - * Tne atom that holds starting and ending character positions of a hyperlink + * The atom that holds starting and ending character positions of a hyperlink */ public final class TxInteractiveInfoAtom extends RecordAtom { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java index 98cdcbad9f..4a517ae6d3 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java @@ -349,13 +349,13 @@ public abstract class HSLFPictureData implements PictureData, GenericRecord { } /** - * Return 24 byte header which preceeds the actual picture data. + * Return 24 byte header which precedes the actual picture data. * <p> * The header consists of 2-byte signature, 2-byte type, * 4-byte image size and 16-byte checksum of the image data. * </p> * - * @return the 24 byte header which preceeds the actual picture data. + * @return the 24 byte header which precedes the actual picture data. */ public byte[] getHeader() { byte[] header = new byte[CHECKSUM_SIZE + PREAMBLE_SIZE]; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureShape.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureShape.java index 1340d01821..71e67084e1 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureShape.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureShape.java @@ -181,7 +181,7 @@ public class HSLFPictureShape extends HSLFSimpleShape implements PictureShape<HS } /** - * By default set the orininal image size + * By default set the original image size */ @Override protected void afterInsert(HSLFSheet sh){ diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java index dca66b799a..a6c307cc96 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFShape.java @@ -69,7 +69,7 @@ public abstract class HSLFShape implements Shape<HSLFShape,HSLFTextParagraph> { private static final Logger LOG = PoiLogManager.getLogger(HSLFShape.class); /** - * Either EscherSpContainer or EscheSpgrContainer record + * Either EscherSpContainer or EscherSpgrContainer record * which holds information about this shape. */ private EscherContainerRecord _escherContainer; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java index 543ed41828..9ce908e8e8 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java @@ -241,7 +241,7 @@ public abstract class HSLFSheet implements HSLFShapeContainer, Sheet<HSLFShape,H } /** - * Called by SlideShow ater a new sheet is created + * Called by SlideShow after a new sheet is created */ public void onCreate(){ diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java index 6f205c9e57..b844a29ca4 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java @@ -148,7 +148,7 @@ public final class HSLFSlide extends HSLFSheet implements Slide<HSLFShape,HSLFTe } /** - * Called by SlideShow ater a new slide is created. + * Called by SlideShow after a new slide is created. * <p> * For Slide we need to do the following: * <ul> @@ -184,7 +184,7 @@ public final class HSLFSlide extends HSLFSheet implements Slide<HSLFShape,HSLFTe } } - //PPT doen't increment the number of saved shapes for group descriptor and background + //PPT doesn't increment the number of saved shapes for group descriptor and background dg.setNumShapes(1); } @@ -205,7 +205,7 @@ public final class HSLFSlide extends HSLFSheet implements Slide<HSLFShape,HSLFTe } - // Complex Accesser methods follow + // Complex Accessor methods follow /** * <p> diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java index 513c8319c3..65dcf6dda5 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java @@ -65,7 +65,7 @@ public final class HSLFSlideMaster extends HSLFMasterSheet { } /** - * Returns <code>null</code> since SlideMasters doen't have master sheet. + * Returns <code>null</code> since SlideMasters doesn't have master sheet. */ @Override public HSLFMasterSheet getMasterSheet() { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java index ffea9a6f5e..d55e204c46 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShow.java @@ -351,7 +351,7 @@ public final class HSLFSlideShow extends POIDocument implements SlideShow<HSLFSh // SlideAtomsSet for each Notes // These SlideAtomsSets will not normally contain text // - // Having indentified the masters, slides and notes + their orders, + // Having identified the masters, slides and notes + their orders, // we have to go and find their matching records // We always use the latest versions of these records, and use the // SlideAtom/NotesAtom to match them with the StyleAtomSet @@ -1060,7 +1060,7 @@ public final class HSLFSlideShow extends POIDocument implements SlideShow<HSLFSh } ExEmbed exEmbed = new ExEmbed(); - // remove unneccessary infos, so we don't need to specify the type + // remove unnecessary infos, so we don't need to specify the type // of the ole object multiple times Record[] children = exEmbed.getChildRecords(); exEmbed.removeChild(children[2]); diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowEncrypted.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowEncrypted.java index 8c7effc7f3..f98c05fec1 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowEncrypted.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowEncrypted.java @@ -230,7 +230,7 @@ public class HSLFSlideShowEncrypted implements Closeable { int endOffset = offset + rlen; if (recType == 0xF007) { - // TOOD: get a real example file ... to actual test the FBSE entry + // TODO: get a real example file ... to actual test the FBSE entry // not sure where the foDelay block is // File BLIP Store Entry (FBSE) @@ -308,7 +308,7 @@ public class HSLFSlideShowEncrypted implements Closeable { int endOffset = offset + rlen; if (recType == 0xF007) { - // TOOD: get a real example file ... to actual test the FBSE entry + // TODO: get a real example file ... to actual test the FBSE entry // not sure where the foDelay block is // File BLIP Store Entry (FBSE) diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java index 0f34562aaf..7ad8a9ce01 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java @@ -258,7 +258,7 @@ public final class HSLFSlideShowImpl extends POIDocument implements Closeable { // If it has a length, depending on its type it may have children or data // If it has children, these will follow straight away // <xx xx yy yy zz zz zz zz <xx xx yy yy zz zz zz zz>> - // If it has data, this will come straigh after, and run for the length + // If it has data, this will come straight after, and run for the length // <xx xx yy yy zz zz zz zz dd dd dd dd dd dd dd> // All lengths given exclude the 8 byte record header // (Data records are known as Atoms) diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java index f010e3d331..f6a647ad60 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java @@ -584,7 +584,7 @@ public final class HSLFTextParagraph implements TextParagraph<HSLFShape,HSLFText } else if (ostyle instanceof String) { setBulletFont((String)ostyle); } else if (ostyle instanceof AutoNumberingScheme) { - throw new HSLFException("setting bullet auto-numberin scheme for HSLF not supported ... yet"); + throw new HSLFException("setting bullet auto-numbering scheme for HSLF not supported ... yet"); } } } diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextShape.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextShape.java index 348907dd86..77b7559714 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextShape.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextShape.java @@ -860,7 +860,7 @@ implements TextShape<HSLFShape,HSLFTextParagraph> { @Override public void setTextPlaceholder(TextPlaceholder placeholder) { - // TOOD: check for correct placeholder handling - see org.apache.poi.hslf.model.Placeholder + // TODO: check for correct placeholder handling - see org.apache.poi.hslf.model.Placeholder Placeholder ph = null; int runType; switch (placeholder) { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwmf/record/HwmfFont.java b/poi-scratchpad/src/main/java/org/apache/poi/hwmf/record/HwmfFont.java index c5ea678edc..671b0ae159 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hwmf/record/HwmfFont.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hwmf/record/HwmfFont.java @@ -224,7 +224,7 @@ public class HwmfFont implements FontInfo, GenericRecord { /** * Specifies that the character quality of the font is less important than the - * matching of logical attribuetes. For rasterized fonts, scaling SHOULD be enabled, which + * matching of logical attributes. For rasterized fonts, scaling SHOULD be enabled, which * means that more font sizes are available. */ DRAFT_QUALITY (0x01), diff --git a/poi/src/main/java/org/apache/poi/hssf/record/chart/PlotAreaRecord.java b/poi/src/main/java/org/apache/poi/hssf/record/chart/PlotAreaRecord.java index e35d2301af..10fb07119e 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/chart/PlotAreaRecord.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/chart/PlotAreaRecord.java @@ -26,7 +26,7 @@ import org.apache.poi.hssf.record.StandardRecord; import org.apache.poi.util.LittleEndianOutput; /** - * preceeds and identifies a frame as belonging to the plot area. + * precedes and identifies a frame as belonging to the plot area. */ public final class PlotAreaRecord extends StandardRecord { public static final short sid = 0x1035; diff --git a/poi/src/main/java/org/apache/poi/ss/formula/CacheAreaEval.java b/poi/src/main/java/org/apache/poi/ss/formula/CacheAreaEval.java index a26edcaf81..1a3384dc2c 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/CacheAreaEval.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/CacheAreaEval.java @@ -32,7 +32,7 @@ import org.apache.poi.ss.util.CellReference; public final class CacheAreaEval extends AreaEvalBase { - /* Value Containter */ + /* Value container */ private final ValueEval[] _values; public CacheAreaEval(AreaI ptg, ValueEval[] values) { diff --git a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java index c92350c47e..11ae822a21 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java @@ -374,7 +374,7 @@ public final class WorkbookEvaluator { String dbgIndentStr = ""; // always init. to non-null just for defensive avoiding NPE if (dbgEvaluationOutputForNextEval) { - // first evaluation call when ouput is desired, so iit. this evaluator instance + // first evaluation call when output is desired, so iit. this evaluator instance dbgEvaluationOutputIndent = 1; dbgEvaluationOutputForNextEval = true; } diff --git a/poi/src/test/java/org/apache/poi/poifs/crypt/TestBiff8DecryptingStream.java b/poi/src/test/java/org/apache/poi/poifs/crypt/TestBiff8DecryptingStream.java index 2966288217..ea587d88f8 100644 --- a/poi/src/test/java/org/apache/poi/poifs/crypt/TestBiff8DecryptingStream.java +++ b/poi/src/test/java/org/apache/poi/poifs/crypt/TestBiff8DecryptingStream.java @@ -180,7 +180,7 @@ final class TestBiff8DecryptingStream { Biff8DecryptingStream bds = st.getBDS(); int hval = bds.readDataSize(); // unencrypted int nextInt = bds.readInt(); - assertNotEquals(0x8F534029, nextInt, "Indentified bug in key alignment after call to readHeaderUShort()"); + assertNotEquals(0x8F534029, nextInt, "Identified bug in key alignment after call to readHeaderUShort()"); assertEquals(0x16885243, nextInt); assertNotEquals(0x283E, hval, "readHeaderUShort() incorrectly decrypted result"); assertEquals(0x504F, hval); |