You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2016/05/27 18:17:30 UTC
svn commit: r1745800 -
/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java
Author: tilman
Date: Fri May 27 18:17:30 2016
New Revision: 1745800
URL: http://svn.apache.org/viewvc?rev=1745800&view=rev
Log:
PDFBOX-2852: fix javadoc; add @deprecated annotation that is already in javadoc
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java?rev=1745800&r1=1745799&r2=1745800&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java Fri May 27 18:17:30 2016
@@ -153,9 +153,9 @@ public abstract class PDFunction impleme
* have a range specified. A range for output parameters
* is optional so this may return zero for a function
* that does have output parameters, this will simply return the
- * number that have the rnage specified.
+ * number that have the range specified.
*
- * @return The number of input parameters that have a range
+ * @return The number of output parameters that have a range
* specified.
*/
public int getNumberOfOutputParameters()
@@ -240,6 +240,7 @@ public abstract class PDFunction impleme
/**
* @deprecated Replaced by {@link #eval(float[] input)}
*/
+ @Deprecated
public COSArray eval(COSArray input) throws IOException
{
float[] outputValues = eval(input.toFloatArray());