You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ecs-dev@jakarta.apache.org by Robert Burrell Donkin <Ro...@appleonline.net> on 2001/04/04 20:26:25 UTC

[PATCH] Re: ElementContainer isEmpty() method?

i think that ConcreteElement.isEmpty() is a useful method and should be commited.
thumbs up or thumbs down?

- robert

Re: [PATCH] Re: ElementContainer isEmpty() method?

Posted by Stephan Nagy <sn...@connectria.com>.
+1

Robert Burrell Donkin wrote:

> i think that ConcreteElement.isEmpty() is a useful method and should be commited.
> thumbs up or thumbs down?
>
> - robert
>
>   ------------------------------------------------------------------------
> Index: src/java/org/apache/ecs/ConcreteElement.java
> ===================================================================
> RCS file: /home/cvs/jakarta-ecs/src/java/org/apache/ecs/ConcreteElement.java,v
> retrieving revision 1.24
> diff -u -r1.24 ConcreteElement.java
> --- src/java/org/apache/ecs/ConcreteElement.java        2001/03/12 18:39:34     1.24
> +++ src/java/org/apache/ecs/ConcreteElement.java        2001/04/04 18:11:36
> @@ -469,4 +469,9 @@
>              throw new InternalError(ioe.toString());
>          }
>      }
> +
> +    public boolean isEmpty()
> +    {
> +        return registryList.isEmpty();
> +    }
>  }
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ecs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ecs-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-dev-help@jakarta.apache.org