Skip to content

Commit ccd6cc6

Browse files
committed
PDFBOX-5660: fix typo, as suggested by Valery Bokov; closes #221
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1927991 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8a24225 commit ccd6cc6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ protected void unsupportedOperator(Operator operator, List<COSBase> operands) th
952952
*
953953
* @param operator The unknown operator.
954954
* @param operands The list of operands.
955-
* @param exception the excpetion which occured when processing the operator
955+
* @param exception the exception which occurred when processing the operator
956956
*
957957
* @throws IOException if there is an error processing the operator exception
958958
*/

pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private RandomAccessStreamCache getStreamCache(StreamCacheCreateFunction streamC
150150
catch (IOException exception1)
151151
{
152152
LOG.warn(
153-
"An error occured when creating stream cache. Using memory only cache as fallback.",
153+
"An error occurred when creating stream cache. Using memory only cache as fallback.",
154154
exception1);
155155
}
156156
try
@@ -159,7 +159,7 @@ private RandomAccessStreamCache getStreamCache(StreamCacheCreateFunction streamC
159159
}
160160
catch (IOException exception2)
161161
{
162-
LOG.warn("An error occured when creating stream cache for fallback.", exception2);
162+
LOG.warn("An error occurred when creating stream cache for fallback.", exception2);
163163
}
164164
return null;
165165
}

0 commit comments

Comments
 (0)