mirror of https://github.com/apache/poi.git
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:
parent
a4895a93c8
commit
c90470be1f
|
@ -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
|
* @author Josh Micich
|
||||||
*/
|
*/
|
||||||
abstract class ScalarConstantPtg extends Ptg {
|
public abstract class ScalarConstantPtg extends Ptg {
|
||||||
public boolean isBaseToken() {
|
public final boolean isBaseToken() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ package org.apache.poi.hssf.record.formula.eval;
|
||||||
*/
|
*/
|
||||||
public final class MissingArgEval implements ValueEval {
|
public final class MissingArgEval implements ValueEval {
|
||||||
|
|
||||||
public static MissingArgEval instance = new MissingArgEval();
|
public static final MissingArgEval instance = new MissingArgEval();
|
||||||
|
|
||||||
private MissingArgEval() {
|
private MissingArgEval() {
|
||||||
// enforce singleton
|
// enforce singleton
|
||||||
|
|
Loading…
Reference in New Issue