[Mulgara-svn] r783 - branches/mgr-61-sparql/src/jar/query/java/org/mulgara/query/filter/arithmetic
pag at mulgara.org
pag at mulgara.org
Tue Apr 15 01:46:19 UTC 2008
Author: pag
Date: 2008-04-14 18:46:18 -0700 (Mon, 14 Apr 2008)
New Revision: 783
Modified:
branches/mgr-61-sparql/src/jar/query/java/org/mulgara/query/filter/arithmetic/UnaryMinus.java
Log:
Fixed inheritance to make this instantiable
Modified: branches/mgr-61-sparql/src/jar/query/java/org/mulgara/query/filter/arithmetic/UnaryMinus.java
===================================================================
--- branches/mgr-61-sparql/src/jar/query/java/org/mulgara/query/filter/arithmetic/UnaryMinus.java 2008-04-15 01:45:47 UTC (rev 782)
+++ branches/mgr-61-sparql/src/jar/query/java/org/mulgara/query/filter/arithmetic/UnaryMinus.java 2008-04-15 01:46:18 UTC (rev 783)
@@ -15,7 +15,6 @@
import java.util.Map;
import org.mulgara.query.QueryException;
-import org.mulgara.query.filter.value.AbstractComparable;
import org.mulgara.query.filter.value.NumericExpression;
@@ -27,7 +26,7 @@
* @copyright © 2008 <a href="mailto:pgearon at users.sourceforge.net">Paul Gearon</a>
* @licence <a href="{@docRoot}/../../LICENCE.txt">Open Software License v3.0</a>
*/
-public abstract class UnaryMinus extends AbstractComparable implements NumericExpression {
+public class UnaryMinus extends AbstractNumericOperation implements NumericExpression {
/** The operand */
protected NumericExpression operand;
@@ -36,7 +35,7 @@
* Creates a negation of the given term.
* @param operand The numeric term to negate.
*/
- UnaryMinus(NumericExpression operand) {
+ public UnaryMinus(NumericExpression operand) {
this.operand = operand;
operand.setContextOwner(this);
}
More information about the Mulgara-svn
mailing list