Skip to content

Commit bbe1c53

Browse files
committed
PDFBOX-5660: fix typos, as suggested by Valery Bokov; closes #272
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1928798 13f79535-47bb-0310-9956-ffa450edef68
1 parent e35cb6e commit bbe1c53

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ void createHolderForm(PDResources holderFormResources, PDStream holderFormStream
156156
/**
157157
* Creates appearance dictionary
158158
*
159-
* @param holderForml form object to be used for the appearance stream
159+
* @param holderForm form object to be used for the appearance stream
160160
* @param signatureField the signature field the appearance stream is added to
161161
* @throws IOException if the appearance stream could not be created
162162
*/
163-
void createAppearanceDictionary(PDFormXObject holderForml,
164-
PDSignatureField signatureField) throws IOException;
163+
void createAppearanceDictionary(PDFormXObject holderForm, PDSignatureField signatureField)
164+
throws IOException;
165165

166166
/**
167167
* Create a holder for the inner form stream.

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSigBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,13 @@ public void createHolderForm(PDResources holderFormResources, PDStream holderFor
233233
}
234234

235235
@Override
236-
public void createAppearanceDictionary(PDFormXObject holderForml,
237-
PDSignatureField signatureField) throws IOException
236+
public void createAppearanceDictionary(PDFormXObject holderForm, PDSignatureField signatureField)
237+
throws IOException
238238
{
239239
PDAppearanceDictionary appearance = new PDAppearanceDictionary();
240240
appearance.getCOSObject().setDirect(true);
241241

242-
PDAppearanceStream appearanceStream = new PDAppearanceStream(holderForml.getCOSObject());
242+
PDAppearanceStream appearanceStream = new PDAppearanceStream(holderForm.getCOSObject());
243243

244244
appearance.setNormalAppearance(appearanceStream);
245245
signatureField.getWidgets().get(0).setAppearance(appearance);
@@ -357,7 +357,7 @@ public void injectAppearanceStreams(PDStream holderFormStream, PDStream innerFor
357357
COSName imageName, COSName innerFormName,
358358
PDVisibleSignDesigner properties) throws IOException
359359
{
360-
// TOD remove unsed parameter from interface??
360+
// TODO remove unused parameter from interface??
361361

362362
// Use width and height of BBox as values for transformation matrix.
363363
int width = (int) this.getStructure().getFormatterRectangle().getWidth();

0 commit comments

Comments
 (0)