poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r885661 - in /poi/trunk/src/java/org/apache/poi/hssf/record/formula: ScalarConstantPtg.java eval/MissingArgEval.java
Date Tue, 01 Dec 2009 03:10:21 GMT
Author: josh
Date: Tue Dec  1 03:09:55 2009
New Revision: 885661

URL: http://svn.apache.org/viewvc?rev=885661&view=rev
Log:
Made ScalarConstantPtg public and MissingArgEval.instance final

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/record/formula/ScalarConstantPtg.java
    poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/ScalarConstantPtg.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/ScalarConstantPtg.java?rev=885661&r1=885660&r2=885661&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/formula/ScalarConstantPtg.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/ScalarConstantPtg.java Tue Dec 
1 03:09:55 2009
@@ -19,10 +19,12 @@
 
 
 /**
+ * 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;
 	}
 

Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java?rev=885661&r1=885660&r2=885661&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java Tue Dec
 1 03:09:55 2009
@@ -28,7 +28,7 @@
  */
 public final class MissingArgEval implements ValueEval {
 
-	public static MissingArgEval instance = new MissingArgEval();
+	public static final MissingArgEval instance = new MissingArgEval();
 
 	private MissingArgEval() {
 		// enforce singleton



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message