From: Nick Burch Date: Fri, 24 Apr 2015 01:42:21 +0000 (+0000) Subject: Whitespace and comment updates X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2be2a7cbfc10721a8f027132968c2ab6179a091d;p=poi.git Whitespace and comment updates git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675740 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java b/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java index 5ba8947067..315b769a47 100644 --- a/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java +++ b/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java @@ -27,8 +27,8 @@ import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; import org.apache.poi.ss.formula.functions.*; /** - * @author Amol S. Deshmukh < amolweb at ya hoo dot com > - * @author Johan Karlsteen - added Intercept and Slope + * Mappings from the Excel functions to our evaluation implementations + * (where avilable) */ public final class FunctionEval { /** @@ -99,7 +99,7 @@ public final class FunctionEval { retval[39] = NumericFunction.MOD; retval[43] = new DStarRunner(new DMin()); - + retval[46] = AggregateFunction.VAR; retval[48] = TextFunction.TEXT; @@ -161,7 +161,7 @@ public final class FunctionEval { retval[FunctionID.INDIRECT] = null; // Indirect.evaluate has different signature - retval[162] = TextFunction.CLEAN; //Aniket Banerjee + retval[162] = TextFunction.CLEAN; retval[167] = new IPMT(); retval[168] = new PPMT(); retval[169] = new Counta(); @@ -177,7 +177,7 @@ public final class FunctionEval { retval[212] = NumericFunction.ROUNDUP; retval[213] = NumericFunction.ROUNDDOWN; retval[216] = new Rank(); - retval[219] = new Address(); //Aniket Banerjee + retval[219] = new Address(); retval[220] = new Days360(); retval[221] = new Today(); @@ -290,7 +290,7 @@ public final class FunctionEval { throw new IllegalArgumentException(name + " is a function from the Excel Analysis Toolpack. " + "Use AnalysisToolpack.registerFunction(String name, FreeRefFunction func) instead."); } - + throw new IllegalArgumentException("Unknown function: " + name); }