acoliver 02/04/28 08:55:37
Modified: src/java/org/apache/poi/hssf/record/formula AddPtg.java
DividePtg.java MultiplyPtg.java OperationPtg.java
PowerPtg.java SubtractPtg.java
Log:
removing mroe of my stuff. Liek Avik's better
Revision Changes Path
1.6 +1 -8
jakarta-poi/src/java/org/apache/poi/hssf/record/formula/AddPtg.java
Index: AddPtg.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/formula/AddPtg.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- AddPtg.java 28 Apr 2002 15:52:58 -0000 1.5
+++ AddPtg.java 28 Apr 2002 15:55:37 -0000 1.6
@@ -154,12 +154,5 @@
buffer.append(operands[ 1 ]);
return buffer.toString();
}
-
-
-
- public void manipulate(List source, List results, int pos) {
- standardBinaryManipulation(source,results,pos);
-
- }
-
+
}
1.5 +1 -6
jakarta-poi/src/java/org/apache/poi/hssf/record/formula/DividePtg.java
Index: DividePtg.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/formula/DividePtg.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DividePtg.java 28 Apr 2002 15:52:58 -0000 1.4
+++ DividePtg.java 28 Apr 2002 15:55:37 -0000 1.5
@@ -131,10 +131,5 @@
buffer.append("/");
buffer.append(operands[ 1 ]);
return buffer.toString();
- }
-
-
- public void manipulate(List source, List results, int pos) {
- }
-
+ }
}
1.5 +1 -5
jakarta-poi/src/java/org/apache/poi/hssf/record/formula/MultiplyPtg.java
Index: MultiplyPtg.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/formula/MultiplyPtg.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MultiplyPtg.java 28 Apr 2002 15:52:58 -0000 1.4
+++ MultiplyPtg.java 28 Apr 2002 15:55:37 -0000 1.5
@@ -141,11 +141,7 @@
return buffer.toString();
}
-
- public void manipulate(List source, List results, int pos) {
- standardBinaryManipulation(source, results, pos);
- }
-
+
public static boolean isNextStringToken(String formula, int pos) {
boolean retval = false;
while (pos < formula.length() &&
Character.isWhitespace(formula.charAt(pos))) {
1.5 +0 -7
jakarta-poi/src/java/org/apache/poi/hssf/record/formula/OperationPtg.java
Index: OperationPtg.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/formula/OperationPtg.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- OperationPtg.java 28 Apr 2002 15:52:58 -0000 1.4
+++ OperationPtg.java 28 Apr 2002 15:55:37 -0000 1.5
@@ -79,14 +79,7 @@
public abstract int getNumberOfOperands();
- /**
- * manipulate the list, moving the arguments for this function to the source
list
- * followed by the operator.
- */
- public abstract void manipulate(List source, List results, int pos);
public abstract String toFormulaString(Ptg [] operands);
- protected void standardBinaryManipulation(List source,List results, int pos) {
- }
}
1.6 +1 -7
jakarta-poi/src/java/org/apache/poi/hssf/record/formula/PowerPtg.java
Index: PowerPtg.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/formula/PowerPtg.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- PowerPtg.java 28 Apr 2002 15:52:58 -0000 1.5
+++ PowerPtg.java 28 Apr 2002 15:55:37 -0000 1.6
@@ -130,12 +130,6 @@
buffer.append("^");
buffer.append(operands[ 1 ]);
return buffer.toString();
- }
-
-
-
- public void manipulate(List source, List results, int pos) {
- }
-
+ }
}
1.5 +0 -6
jakarta-poi/src/java/org/apache/poi/hssf/record/formula/SubtractPtg.java
Index: SubtractPtg.java
===================================================================
RCS file:
/home/cvs/jakarta-poi/src/java/org/apache/poi/hssf/record/formula/SubtractPtg.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SubtractPtg.java 28 Apr 2002 15:52:58 -0000 1.4
+++ SubtractPtg.java 28 Apr 2002 15:55:37 -0000 1.5
@@ -133,10 +133,4 @@
buffer.append(operands[ 1 ]);
return buffer.toString();
}
-
-
- public void manipulate(List source, List results, int pos) {
- }
-
-
}