Rename missing from previous commit

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612140 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2014-07-20 18:14:47 +00:00
parent 42cd819573
commit 4345b06cab
2 changed files with 10 additions and 10 deletions

View File

@ -17,26 +17,26 @@
package org.apache.poi.ss.formula.eval;
import org.apache.poi.ss.formula.ptg.NameXPtg;
import org.apache.poi.ss.formula.EvaluationName;
/**
* Evaluation of a Name defined in a Sheet or Workbook scope
*/
public final class NameXEval implements ValueEval {
private final NameXPtg _ptg;
public final class ExternalNameEval implements ValueEval {
private final EvaluationName _name;
public NameXEval(NameXPtg ptg) {
_ptg = ptg;
public ExternalNameEval(EvaluationName name) {
_name = name;
}
public NameXPtg getPtg() {
return _ptg;
public EvaluationName getName() {
return _name;
}
public String toString() {
StringBuffer sb = new StringBuffer(64);
sb.append(getClass().getName()).append(" [");
sb.append(_ptg.getSheetRefIndex()).append(", ").append(_ptg.getNameIndex());
sb.append(_name.getNameText());
sb.append("]");
return sb.toString();
}

View File

@ -20,14 +20,14 @@ package org.apache.poi.ss.formula.eval;
/**
* @author Josh Micich
*/
public final class NameEval implements ValueEval {
public final class FunctionNameEval implements ValueEval {
private final String _functionName;
/**
* Creates a NameEval representing a function name
*/
public NameEval(String functionName) {
public FunctionNameEval(String functionName) {
_functionName = functionName;
}