You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2007/06/29 16:18:13 UTC
svn commit: r551908 - in /poi/trunk/src: java/org/apache/poi/hssf/model/
java/org/apache/poi/hssf/usermodel/
scratchpad/src/org/apache/poi/hdgf/chunks/
scratchpad/src/org/apache/poi/hslf/model/
scratchpad/src/org/apache/poi/hslf/record/ scratchpad/src/...
Author: nick
Date: Fri Jun 29 07:18:11 2007
New Revision: 551908
URL: http://svn.apache.org/viewvc?view=rev&rev=551908
Log:
Some more fixes for javadoc warnings
Modified:
poi/trunk/src/java/org/apache/poi/hssf/model/FormulaParser.java
poi/trunk/src/java/org/apache/poi/hssf/model/Sheet.java
poi/trunk/src/java/org/apache/poi/hssf/model/SimpleFilledShape.java
poi/trunk/src/java/org/apache/poi/hssf/model/TextboxShape.java
poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/chunks/ChunkFactory.java
poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java
poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/FontCollection.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/AreaEval.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/RefEval.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringOperationEval.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ValueEvalToNumericXlator.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/FinanceLib.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Len.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/LogicalFunction.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MathX.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MultiOperandNumericFunction.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/StatsLib.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/TextFunction.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java
poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java
poi/trunk/src/testcases/org/apache/poi/util/LocalTestNode.java
Modified: poi/trunk/src/java/org/apache/poi/hssf/model/FormulaParser.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/FormulaParser.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/model/FormulaParser.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/model/FormulaParser.java Fri Jun 29 07:18:11 2007
@@ -534,7 +534,6 @@
/** Get a PTG for an integer from its string representation.
* return Int or Number Ptg based on size of input
* @param number
- * @return
*/
private Ptg getNumberPtgFromString(String number) {
try {
Modified: poi/trunk/src/java/org/apache/poi/hssf/model/Sheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/Sheet.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/model/Sheet.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/model/Sheet.java Fri Jun 29 07:18:11 2007
@@ -2506,7 +2506,6 @@
/** Returns the ProtectRecord.
* If one is not contained in the sheet, then one is created.
- * @return
*/
public ProtectRecord getProtect()
{
Modified: poi/trunk/src/java/org/apache/poi/hssf/model/SimpleFilledShape.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/SimpleFilledShape.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/model/SimpleFilledShape.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/model/SimpleFilledShape.java Fri Jun 29 07:18:11 2007
@@ -48,7 +48,6 @@
*
* @param hssfShape
* @param shapeId
- * @return
*/
private EscherContainerRecord createSpContainer( HSSFSimpleShape hssfShape, int shapeId )
{
Modified: poi/trunk/src/java/org/apache/poi/hssf/model/TextboxShape.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/TextboxShape.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/model/TextboxShape.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/model/TextboxShape.java Fri Jun 29 07:18:11 2007
@@ -77,7 +77,6 @@
*
* @param hssfShape
* @param shapeId
- * @return
*/
private EscherContainerRecord createSpContainer( HSSFTextbox hssfShape, int shapeId )
{
Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Fri Jun 29 07:18:11 2007
@@ -343,7 +343,6 @@
* allow you to show the data of one sheet when another is seen "selected"
* in the tabs (at the bottom).
* @see org.apache.poi.hssf.usermodel.HSSFSheet#setSelected(boolean)
- * @return
*/
public short getSelectedTab() {
return workbook.getWindowOne().getSelectedTab();
@@ -361,7 +360,6 @@
/**
* sets the first tab that is displayed in the list of tabs
* in excel.
- * @return
*/
public short getDisplayedTab() {
return workbook.getWindowOne().getDisplayedTab();
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/chunks/ChunkFactory.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/chunks/ChunkFactory.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/chunks/ChunkFactory.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/chunks/ChunkFactory.java Fri Jun 29 07:18:11 2007
@@ -102,7 +102,6 @@
* Creates the appropriate chunk at the given location.
* @param data
* @param offset
- * @return
*/
public Chunk createChunk(byte[] data, int offset) {
// Create the header
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java Fri Jun 29 07:18:11 2007
@@ -478,7 +478,6 @@
/**
* Fetch the rich text runs (runs of text with the same styling) that
* are contained within this block of text
- * @return
*/
public RichTextRun[] getRichTextRuns() {
return _rtRuns;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/FontCollection.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/FontCollection.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/FontCollection.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/FontCollection.java Fri Jun 29 07:18:11 2007
@@ -98,7 +98,6 @@
* Get the name of the font at the given ID, or null if there is
* no font at that ID.
* @param id
- * @return
*/
public String getFontWithId(int id) {
if(id >= fonts.size()) {
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/AreaEval.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/AreaEval.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/AreaEval.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/AreaEval.java Fri Jun 29 07:18:11 2007
@@ -29,28 +29,24 @@
/**
* returns the 0-based index of the first row in
* this area.
- * @return
*/
public int getFirstRow();
/**
* returns the 0-based index of the last row in
* this area.
- * @return
*/
public int getLastRow();
/**
* returns the 0-based index of the first col in
* this area.
- * @return
*/
public short getFirstColumn();
/**
* returns the 0-based index of the last col in
* this area.
- * @return
*/
public short getLastColumn();
@@ -58,7 +54,6 @@
* returns true if the Area's start and end row indexes
* are same. This result of this method should agree
* with getFirstRow() == getLastRow().
- * @return
*/
public boolean isRow();
@@ -66,7 +61,6 @@
* returns true if the Area's start and end col indexes
* are same. This result of this method should agree
* with getFirstColumn() == getLastColumn().
- * @return
*/
public boolean isColumn();
@@ -74,7 +68,6 @@
* The array of values in this area. Although the area
* maybe 1D (ie. isRow() or isColumn() returns true) or 2D
* the returned array is 1D.
- * @return
*/
public ValueEval[] getValues();
@@ -86,7 +79,6 @@
* bre returned.
* @param row
* @param col
- * @return
*/
public ValueEval getValueAt(int row, short col);
@@ -96,21 +88,18 @@
* this area.
* @param row
* @param col
- * @return
*/
public boolean contains(int row, short col);
/**
* returns true if the specified col is in range
* @param col
- * @return
*/
public boolean containsColumn(short col);
/**
* returns true if the specified row is in range
* @param row
- * @return
*/
public boolean containsRow(int row);
}
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/RefEval.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/RefEval.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/RefEval.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/RefEval.java Fri Jun 29 07:18:11 2007
@@ -40,19 +40,16 @@
* the RefEval representing
* A1 will return as the getInnerValueEval() the
* object of concrete type StringEval
- * @return
*/
public ValueEval getInnerValueEval();
/**
* returns the column index.
- * @return
*/
public short getColumn();
/**
* returns the row index.
- * @return
*/
public short getRow();
@@ -66,7 +63,6 @@
* B1 has the value "test", then the RefEval
* representing A1 will return isEvaluated()
* equal to true.
- * @return
*/
public boolean isEvaluated();
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringOperationEval.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringOperationEval.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringOperationEval.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringOperationEval.java Fri Jun 29 07:18:11 2007
@@ -34,7 +34,6 @@
* @param eval
* @param srcRow
* @param srcCol
- * @return
*/
protected ValueEval singleOperandEvaluate(Eval eval, int srcRow, short srcCol) {
ValueEval retval;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ValueEvalToNumericXlator.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ValueEvalToNumericXlator.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ValueEvalToNumericXlator.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ValueEvalToNumericXlator.java Fri Jun 29 07:18:11 2007
@@ -61,7 +61,6 @@
* The params can be either NumberEval, BoolEval, StringEval, or
* RefEval
* @param eval
- * @return
*/
public ValueEval attemptXlateToNumeric(ValueEval eval) {
ValueEval retval = null;
@@ -114,7 +113,6 @@
* instance. If flag is set, a zero
* valued numbereval is returned, else BlankEval.INSTANCE
* is returned.
- * @return
*/
private ValueEval xlateBlankEval(int flag) {
return ((flags & flag) > 0)
@@ -125,7 +123,6 @@
/**
* uses the relevant flags to decode the supplied RefVal
* @param eval
- * @return
*/
private ValueEval xlateRefEval(RefEval reval) {
ValueEval retval = null;
@@ -177,7 +174,6 @@
/**
* uses the relevant flags to decode the StringEval
* @param eval
- * @return
*/
private ValueEval xlateStringEval(StringEval eval) {
ValueEval retval = null;
@@ -224,7 +220,6 @@
/**
* uses the relevant flags to decode the StringEval
* @param eval
- * @return
*/
private ValueEval xlateRefStringEval(StringEval eval) {
ValueEval retval = null;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/FinanceLib.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/FinanceLib.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/FinanceLib.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/FinanceLib.java Fri Jun 29 07:18:11 2007
@@ -77,7 +77,6 @@
* @param y pmt per period
* @param f future value
* @param t type (true=pmt at end of period, false=pmt at begining of period)
- * @return
*/
public static double fv(double r, double n, double y, double p, boolean t) {
double retval = 0;
@@ -103,7 +102,6 @@
* @param y
* @param f
* @param t
- * @return
*/
public static double pv(double r, double n, double y, double f, boolean t) {
double retval = 0;
@@ -127,7 +125,6 @@
* value should be negative.
* @param r
* @param cfs cashflow amounts
- * @return
*/
public static double npv(double r, double[] cfs) {
double npv = 0;
@@ -147,7 +144,6 @@
* @param p
* @param f
* @param t
- * @return
*/
public static double pmt(double r, double n, double p, double f, boolean t) {
double retval = 0;
@@ -170,7 +166,6 @@
* @param p
* @param f
* @param t
- * @return
*/
public static double nper(double r, double y, double p, double f, boolean t) {
double retval = 0;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Len.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Len.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Len.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Len.java Fri Jun 29 07:18:11 2007
@@ -121,7 +121,6 @@
* Note: AreaEvals are not handled, if arg is an AreaEval,
* the returned value is ErrorEval.VALUE_INVALID
* @param ve
- * @return
*/
protected ValueEval attemptXlateToText(ValueEval ve) {
ValueEval retval;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/LogicalFunction.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/LogicalFunction.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/LogicalFunction.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/LogicalFunction.java Fri Jun 29 07:18:11 2007
@@ -32,7 +32,6 @@
/**
* recursively evaluate any RefEvals
* @param reval
- * @return
*/
protected ValueEval xlateRefEval(RefEval reval) {
ValueEval retval = (ValueEval) reval.getInnerValueEval();
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MathX.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MathX.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MathX.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MathX.java Fri Jun 29 07:18:11 2007
@@ -48,7 +48,6 @@
* <p>If n is NaN, returned value is NaN.
* @param n
* @param p
- * @return
*/
public static double round(double n, int p) {
double retval;
@@ -83,7 +82,6 @@
* <p>If n is NaN, returned value is NaN.
* @param n
* @param p
- * @return
*/
public static double roundUp(double n, int p) {
double retval;
@@ -127,7 +125,6 @@
* <p>If n is NaN, returned value is NaN.
* @param n
* @param p
- * @return
*/
public static double roundDown(double n, int p) {
double retval;
@@ -158,7 +155,6 @@
* <p> If d is NaN, then 1 will be returned. It is the responsibility
* of caller to check for d isNaN if some other value is desired.
* @param d
- * @return
*/
public static short sign(double d) {
return (short) ((d == 0)
@@ -171,7 +167,6 @@
/**
* average of all values
* @param values
- * @return
*/
public static double average(double[] values) {
double ave = 0;
@@ -187,7 +182,6 @@
/**
* sum of all values
* @param values
- * @return
*/
public static double sum(double[] values) {
double sum = 0;
@@ -200,7 +194,6 @@
/**
* sum of squares of all values
* @param values
- * @return
*/
public static double sumsq(double[] values) {
double sumsq = 0;
@@ -214,7 +207,6 @@
/**
* product of all values
* @param values
- * @return
*/
public static double product(double[] values) {
double product = 0;
@@ -231,7 +223,6 @@
* min of all values. If supplied array is zero length,
* Double.POSITIVE_INFINITY is returned.
* @param values
- * @return
*/
public static double min(double[] values) {
double min = Double.POSITIVE_INFINITY;
@@ -245,7 +236,6 @@
* min of all values. If supplied array is zero length,
* Double.NEGATIVE_INFINITY is returned.
* @param values
- * @return
*/
public static double max(double[] values) {
double max = Double.NEGATIVE_INFINITY;
@@ -269,7 +259,6 @@
* In all such cases, Double.NaN is returned.
* @param n
* @param s
- * @return
*/
public static double floor(double n, double s) {
double f;
@@ -298,7 +287,6 @@
* In all such cases, Double.NaN is returned.
* @param n
* @param s
- * @return
*/
public static double ceiling(double n, double s) {
double c;
@@ -322,7 +310,6 @@
* than Double.MAX_VALUE; Double.POSITIVE_INFINITY is returned.
* If n < 0, Double.NaN is returned.
* @param n
- * @return
*/
public static double factorial(int n) {
double d = 1;
@@ -358,7 +345,6 @@
* If d == 0, result is NaN
* @param n
* @param d
- * @return
*/
public static double mod(double n, double d) {
double result = 0;
@@ -385,7 +371,6 @@
/**
* inverse hyperbolic cosine
* @param d
- * @return
*/
public static double acosh(double d) {
return Math.log(Math.sqrt(Math.pow(d, 2) - 1) + d);
@@ -394,7 +379,6 @@
/**
* inverse hyperbolic sine
* @param d
- * @return
*/
public static double asinh(double d) {
double d2 = d*d;
@@ -404,7 +388,6 @@
/**
* inverse hyperbolic tangent
* @param d
- * @return
*/
public static double atanh(double d) {
return Math.log((1 + d)/(1 - d)) / 2;
@@ -413,7 +396,6 @@
/**
* hyperbolic cosine
* @param d
- * @return
*/
public static double cosh(double d) {
double ePowX = Math.pow(Math.E, d);
@@ -425,7 +407,6 @@
/**
* hyperbolic sine
* @param d
- * @return
*/
public static double sinh(double d) {
double ePowX = Math.pow(Math.E, d);
@@ -437,7 +418,6 @@
/**
* hyperbolic tangent
* @param d
- * @return
*/
public static double tanh(double d) {
double ePowX = Math.pow(Math.E, d);
@@ -452,7 +432,6 @@
* all the subarrays are of equal length. If the subarrays are
* not of equal length, the return value can be unpredictable.
* @param arrays
- * @return
*/
public static double sumproduct(double[][] arrays) {
double d = 0;
@@ -485,7 +464,6 @@
* subarrays are not of equal length, the return value can be
* unpredictable.
* @param arrays
- * @return
*/
public static double sumx2my2(double[] xarr, double[] yarr) {
double d = 0;
@@ -511,7 +489,6 @@
* subarrays are not of equal length, the return value can be
* unpredictable.
* @param arrays
- * @return
*/
public static double sumx2py2(double[] xarr, double[] yarr) {
double d = 0;
@@ -538,7 +515,6 @@
* subarrays are not of equal length, the return value can be
* unpredictable.
* @param arrays
- * @return
*/
public static double sumxmy2(double[] xarr, double[] yarr) {
double d = 0;
@@ -565,7 +541,6 @@
* If either of the parameters is negative, Double.NaN is returned.
* @param n
* @param k
- * @return
*/
public static double nChooseK(int n, int k) {
double d = 1;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MultiOperandNumericFunction.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MultiOperandNumericFunction.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MultiOperandNumericFunction.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/MultiOperandNumericFunction.java Fri Jun 29 07:18:11 2007
@@ -66,7 +66,6 @@
/**
* Maximum number of operands accepted by this function.
* Subclasses may override to change default value.
- * @return
*/
protected int getMaxNumOperands() {
return DEFAULT_MAX_NUM_OPERANDS;
@@ -82,7 +81,6 @@
* @param operands
* @param srcRow
* @param srcCol
- * @return
*/
protected double[] getNumberArray(Eval[] operands, int srcRow, short srcCol) {
double[] retval = new double[30];
@@ -120,7 +118,6 @@
* @param operand
* @param srcRow
* @param srcCol
- * @return
*/
protected double[] getNumberArray(Eval operand, int srcRow, short srcCol) {
double[] retval;
@@ -184,7 +181,6 @@
* @param arr
* @param pos
* @param d
- * @return
*/
private static double[] putInArray(double[] arr, int pos, double d) {
double[] tarr = arr;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/StatsLib.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/StatsLib.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/StatsLib.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/StatsLib.java Fri Jun 29 07:18:11 2007
@@ -35,7 +35,6 @@
/**
* returns the mean of deviations from mean.
* @param v
- * @return
*/
public static double avedev(double[] v) {
double r = 0;
@@ -66,7 +65,6 @@
* is Double.NaN. Else returns the value that occurs most times
* and if there is a tie, returns the first such value.
* @param v
- * @return
*/
public static double mode(double[] v) {
double r = Double.NaN;
@@ -139,7 +137,6 @@
* will result in return value Double.NaN
* @param v
* @param k
- * @return
*/
public static double kthLargest(double[] v, int k) {
double r = Double.NaN;
@@ -160,7 +157,6 @@
* will result in return value Double.NaN
* @param v
* @param k
- * @return
*/
public static double kthSmallest(double[] v, int k) {
double r = Double.NaN;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/TextFunction.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/TextFunction.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/TextFunction.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/TextFunction.java Fri Jun 29 07:18:11 2007
@@ -77,7 +77,6 @@
* Note: AreaEvals are not handled, if arg is an AreaEval,
* the returned value is ErrorEval.VALUE_INVALID
* @param ve
- * @return
*/
protected ValueEval attemptXlateToText(ValueEval ve) {
ValueEval retval;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/XYNumericFunction.java Fri Jun 29 07:18:11 2007
@@ -74,7 +74,6 @@
* @param operands
* @param srcRow
* @param srcCol
- * @return
*/
protected double[][] getNumberArray(Eval[] xops, Eval[] yops, int srcRow, short srcCol) {
double[][] retval = new double[2][30];
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java Fri Jun 29 07:18:11 2007
@@ -171,7 +171,6 @@
* evaluateInCell() when the call should not modify the contents of the
* original cell.
* @param cell
- * @return
*/
public CellValue evaluate(HSSFCell cell) {
CellValue retval = null;
@@ -249,7 +248,6 @@
/**
* Returns a CellValue wrapper around the supplied ValueEval instance.
* @param eval
- * @return
*/
protected static CellValue getCellValueForEval(ValueEval eval) {
CellValue retval = null;
@@ -287,7 +285,6 @@
* @param formula
* @param sheet
* @param workbook
- * @return
*/
protected static ValueEval internalEvaluate(HSSFCell srcCell, HSSFRow srcRow, HSSFSheet sheet, HSSFWorkbook workbook) {
int srcRowNum = srcRow.getRowNum();
@@ -409,7 +406,6 @@
* returns the OperationEval concrete impl instance corresponding
* to the suplied operationPtg
* @param ptg
- * @return
*/
protected static Eval getOperationEvalForPtg(OperationPtg ptg) {
Eval retval = null;
@@ -432,7 +428,6 @@
* passed here!
*
* @param ptg
- * @return
*/
protected static Eval getEvalForPtg(Ptg ptg) {
Eval retval = null;
@@ -478,7 +473,6 @@
* @param cell
* @param sheet
* @param workbook
- * @return
*/
protected static ValueEval getEvalForCell(HSSFCell cell, HSSFRow row, HSSFSheet sheet, HSSFWorkbook workbook) {
ValueEval retval = BlankEval.INSTANCE;
Modified: poi/trunk/src/testcases/org/apache/poi/util/LocalTestNode.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/util/LocalTestNode.java?view=diff&rev=551908&r1=551907&r2=551908
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/util/LocalTestNode.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/util/LocalTestNode.java Fri Jun 29 07:18:11 2007
@@ -77,8 +77,6 @@
* Method compareTo
*
* @param o
- *
- * @return
*/
public int compareTo(Object o)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org