Made ScalarConstantPtg public and MissingArgEval.instance final

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@885661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Josh Micich 2009-12-01 03:09:55 +00:00
parent a4895a93c8
commit c90470be1f
2 changed files with 5 additions and 3 deletions

View File

@ -19,10 +19,12 @@ package org.apache.poi.hssf.record.formula;
/**
* Common superclass of all {@link Ptg}s that represent simple constant values.
*
* @author Josh Micich
*/
abstract class ScalarConstantPtg extends Ptg {
public boolean isBaseToken() {
public abstract class ScalarConstantPtg extends Ptg {
public final boolean isBaseToken() {
return true;
}

View File

@ -28,7 +28,7 @@ package org.apache.poi.hssf.record.formula.eval;
*/
public final class MissingArgEval implements ValueEval {
public static MissingArgEval instance = new MissingArgEval();
public static final MissingArgEval instance = new MissingArgEval();
private MissingArgEval() {
// enforce singleton