QA - IsEmptyTag.java (improved test coverage)
---------------------------------------------

                 Key: IBATIS-394
                 URL: https://issues.apache.org/jira/browse/IBATIS-394
             Project: iBatis for Java
          Issue Type: Improvement
          Components: Testing
    Affects Versions: 2.3.0
         Environment: Testing
            Reporter: Claus Ibsen
            Priority: Trivial


Hi

2nd patch of today (the diff file include also the patch for the previous patch 
i guess).

Well the patch improves the coverage of this tag test to nearly 100%. I think 
the tag tests if the parameterClass can be an array type, but how do you 
specify that? Is it possible?
I have tried to set arrays but I get a class not found exception 
java.lang.String[] etc.

If it's not possible then the array check should be removed from the ISEmptyTag

      } else if (value != null && value.getClass().isArray()) {
        return Array.getLength(value) == 0;



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to