incubator-imperius-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praba...@apache.org
Subject svn commit: r616621 - /incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expressions/impl/StartsWith.java
Date Wed, 30 Jan 2008 05:04:07 GMT
Author: prabalig
Date: Tue Jan 29 21:04:06 2008
New Revision: 616621

URL: http://svn.apache.org/viewvc?rev=616621&view=rev
Log:
Bug: StartsWith() expression returns string type instead of Boolean type (Key: 	 IMPERIUS-6)
	
Resolved: Changed the expression type to Boolean Type.

Modified:
    incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expressions/impl/StartsWith.java

Modified: incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expressions/impl/StartsWith.java
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expressions/impl/StartsWith.java?rev=616621&r1=616620&r2=616621&view=diff
==============================================================================
--- incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expressions/impl/StartsWith.java
(original)
+++ incubator/imperius/trunk/imperius-splcore/src/main/java/org/apache/imperius/spl/parser/expressions/impl/StartsWith.java
Tue Jan 29 21:04:06 2008
@@ -99,7 +99,7 @@
         if (!lType.getIsArray() && !rType.getIsArray() && 
         		TypeResolver.isString(lType) && TypeResolver.isString(rType))
         {
-            _dataType.setType(TypeConstants.stringType);
+            _dataType.setType(TypeConstants.booleanType);
             logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "validate");
             
             return true;



Mime
View raw message