on 10/4/2000 12:52 PM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:
> Where would this go? Or should I just write those lines
> everywhere it's needed (bad form)?
we have a new class for that which would be _perfect_...
org.apache.turbine.util.ObjectUtils.java
also, it would be "void" not "boolean" and 4 spaces indentation...ie:
public static void addOnce(Vector v, Object o)
{
if (! v.contains( o ))
v.addElement( o );
}
-jon
--
http://scarab.tigris.org/ | http://noodle.tigris.org/
http://java.apache.org/ | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/ | http://www.sourcexchange.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
- Re: Are things much slower? [LONG] John McNally
- Re: Are things much slower? Christoph Reck
- Re: Are things much slower? Leon Messerschmidt
- RE: Are things much slower? [LONG] Diethelm Guallar, Gonzalo
- RE: Are things much slower? [LONG] Diethelm Guallar, Gonzalo
- Re: Are things much slower? [LONG] John McNally
- RE: Are things much slower? [LONG] Diethelm Guallar, Gonzalo
- Re: Are things much slower? [LONG] Jon Stevens
- Re[2]: Are things much slower? [LONG] Shamil Yahin
- RE: Are things much slower? [LONG] Diethelm Guallar, Gonzalo
- Re: Are things much slower? [LONG] Jon Stevens
- Re: Are things much slower? [LONG] Fedor Karpelevitch
- Re: Are things much slower? [LONG] Peter Recore
- Re: Are things much slower? [LONG] Jon Stevens
- RE: Are things much slower? [LONG] Diethelm Guallar, Gonzalo
- RE: Are things much slower? [LONG] Craig Berry
- RE: Are things much slower? [LONG] Diethelm Guallar, Gonzalo
- Re: Are things much slower? [LONG] Jon Stevens
- RE: Are things much slower? [LONG] Craig Berry
- Re: Are things much slower? [LONG] Jon Stevens
