You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2012/08/25 00:00:50 UTC
svn commit: r1377132 -
/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/
Author: prestonc
Date: Fri Aug 24 22:00:50 2012
New Revision: 1377132
URL: http://svn.apache.org/viewvc?rev=1377132&view=rev
Log:
Found these classes were not overwriting the value required for them to required to reuse their parent class.
Modified:
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToLongOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNegativeIntegerOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonNegativeIntegerOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonPositiveIntegerOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToPositiveIntegerOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToStringOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedByteOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedIntOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedLongOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedShortOperation.java
incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUntypedAtomicOperation.java
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToLongOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToLongOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToLongOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToLongOperation.java Fri Aug 24 22:00:50 2012
@@ -3,6 +3,10 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToLongOperation extends CastToIntegerOperation {
- boolean negativeAllowed = true;
- int returnTag = ValueTag.XS_LONG_TAG;
+
+ public CastToLongOperation() {
+ negativeAllowed = true;
+ returnTag = ValueTag.XS_LONG_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNegativeIntegerOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNegativeIntegerOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNegativeIntegerOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNegativeIntegerOperation.java Fri Aug 24 22:00:50 2012
@@ -3,7 +3,11 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToNegativeIntegerOperation extends CastToIntegerOperation {
- boolean negativeAllowed = true;
- boolean negativeRequired = true;
- int returnTag = ValueTag.XS_NON_POSITIVE_INTEGER_TAG;
+
+ public CastToNegativeIntegerOperation() {
+ negativeAllowed = true;
+ negativeRequired = true;
+ returnTag = ValueTag.XS_NON_POSITIVE_INTEGER_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonNegativeIntegerOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonNegativeIntegerOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonNegativeIntegerOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonNegativeIntegerOperation.java Fri Aug 24 22:00:50 2012
@@ -3,7 +3,11 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToNonNegativeIntegerOperation extends CastToIntegerOperation {
- boolean negativeAllowed = true;
- boolean negativeRequired = true;
- int returnTag = ValueTag.XS_NON_POSITIVE_INTEGER_TAG;
+
+ public CastToNonNegativeIntegerOperation() {
+ negativeAllowed = true;
+ negativeRequired = true;
+ returnTag = ValueTag.XS_NON_POSITIVE_INTEGER_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonPositiveIntegerOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonPositiveIntegerOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonPositiveIntegerOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToNonPositiveIntegerOperation.java Fri Aug 24 22:00:50 2012
@@ -3,6 +3,10 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToNonPositiveIntegerOperation extends CastToIntegerOperation {
- boolean negativeAllowed = false;
- int returnTag = ValueTag.XS_NON_NEGATIVE_INTEGER_TAG;
+
+ public CastToNonPositiveIntegerOperation() {
+ negativeAllowed = false;
+ returnTag = ValueTag.XS_NON_NEGATIVE_INTEGER_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToPositiveIntegerOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToPositiveIntegerOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToPositiveIntegerOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToPositiveIntegerOperation.java Fri Aug 24 22:00:50 2012
@@ -3,6 +3,10 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToPositiveIntegerOperation extends CastToIntegerOperation {
- boolean negativeAllowed = false;
- int returnTag = ValueTag.XS_POSITIVE_INTEGER_TAG;
+
+ public CastToPositiveIntegerOperation() {
+ negativeAllowed = false;
+ returnTag = ValueTag.XS_POSITIVE_INTEGER_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToStringOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToStringOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToStringOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToStringOperation.java Fri Aug 24 22:00:50 2012
@@ -841,5 +841,5 @@ public class CastToStringOperation exten
}
}
}
-
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedByteOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedByteOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedByteOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedByteOperation.java Fri Aug 24 22:00:50 2012
@@ -3,6 +3,10 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToUnsignedByteOperation extends CastToShortOperation {
- boolean negativeAllowed = false;
- int returnTag = ValueTag.XS_UNSIGNED_BYTE_TAG;
+
+ public CastToUnsignedByteOperation() {
+ negativeAllowed = false;
+ returnTag = ValueTag.XS_UNSIGNED_BYTE_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedIntOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedIntOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedIntOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedIntOperation.java Fri Aug 24 22:00:50 2012
@@ -3,6 +3,10 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToUnsignedIntOperation extends CastToLongOperation {
- boolean negativeAllowed = false;
- int returnTag = ValueTag.XS_UNSIGNED_INT_TAG;
+
+ public CastToUnsignedIntOperation() {
+ negativeAllowed = false;
+ returnTag = ValueTag.XS_UNSIGNED_INT_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedLongOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedLongOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedLongOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedLongOperation.java Fri Aug 24 22:00:50 2012
@@ -3,6 +3,10 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToUnsignedLongOperation extends CastToIntegerOperation {
- boolean negativeAllowed = false;
- int returnTag = ValueTag.XS_UNSIGNED_LONG_TAG;
+
+ public CastToUnsignedLongOperation() {
+ negativeAllowed = false;
+ returnTag = ValueTag.XS_UNSIGNED_LONG_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedShortOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedShortOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedShortOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUnsignedShortOperation.java Fri Aug 24 22:00:50 2012
@@ -3,6 +3,10 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToUnsignedShortOperation extends CastToIntOperation {
- boolean negativeAllowed = false;
- int returnTag = ValueTag.XS_UNSIGNED_SHORT_TAG;
+
+ public CastToUnsignedShortOperation() {
+ negativeAllowed = false;
+ returnTag = ValueTag.XS_UNSIGNED_SHORT_TAG;
+ }
+
}
\ No newline at end of file
Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUntypedAtomicOperation.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUntypedAtomicOperation.java?rev=1377132&r1=1377131&r2=1377132&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUntypedAtomicOperation.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/cast/CastToUntypedAtomicOperation.java Fri Aug 24 22:00:50 2012
@@ -3,5 +3,9 @@ package org.apache.vxquery.runtime.funct
import org.apache.vxquery.datamodel.values.ValueTag;
public class CastToUntypedAtomicOperation extends CastToStringOperation {
- int returnTag = ValueTag.XS_UNTYPED_ATOMIC_TAG;
+
+ public CastToUntypedAtomicOperation() {
+ returnTag = ValueTag.XS_UNTYPED_ATOMIC_TAG;
+ }
+
}
\ No newline at end of file