Fixed and please check out the new jar from

http://kungfuters.org/nexus/content/repositories/snapshots/tellurium/tellurium-core/0.7.0-SNAPSHOT/tellurium-core-0.7.0-20090708.173615-3.jar

Note, you need to change to 0.7.0-SNAPSHOT if you use Maven.

Thanks,

Jian

On Jul 8, 12:50 pm, Jian Fang <[email protected]> wrote:
> It is a bug in the code,
>
>   def hasCssClass(String uid, String cssClass) {
>     WorkflowContext context =
> WorkflowContext.getContextByEnvironment(this.exploreJQuerySelector,
> this.exploreSelectorCache)
>     String[] strings = walkToWithException(context, uid)?.hasCssClass()
> {loc, classAttr ->
>      ......
>     if (strings?.length) {
>       for (i in 0..strings?.length) {  <--- Here
>         if (cssClass.equalsIgnoreCase(strings[i])) {
>           return true
>         }
>       }
>     }
>     return false
>   }
>
> The indicated line is wrong and should use exclusive range operator instead
> of the inclusive range operator, i.e., should be
>
> for (i in 0..<strings?.length) {
>
> I will fix this to trunk and deploy the snapshot to Maven repo soon.
>
> Thanks,
>
> Jian
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to