"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java" between
pdfbox-2.0.23-src.zip and pdfbox-2.0.24-src.zip

About: Apache PDFBox is a Java PDF library tool that allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents.

PDFunction.java  (pdfbox-2.0.23-src):PDFunction.java  (pdfbox-2.0.24-src)
skipping to change at line 105 skipping to change at line 105
} }
/** /**
* Returns the underlying PDStream. * Returns the underlying PDStream.
* @return The stream. * @return The stream.
*/ */
protected PDStream getPDStream() protected PDStream getPDStream()
{ {
return functionStream; return functionStream;
} }
/** /**
* Create the correct PD Model function based on the COS base function. * Create the correct PD Model function based on the COS base function.
* *
* @param function The COS function dictionary. * @param function The COS function dictionary.
* *
* @return The PDModel Function object. * @return The PDModel Function object, never null.
* *
* @throws IOException If we are unable to create the PDFunction object. * @throws IOException If we are unable to create the PDFunction object.
*/ */
public static PDFunction create( COSBase function ) throws IOException public static PDFunction create( COSBase function ) throws IOException
{ {
if (function == COSName.IDENTITY) if (function == COSName.IDENTITY)
{ {
return new PDFunctionTypeIdentity(null); return new PDFunctionTypeIdentity(null);
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)