Re: AW: announce petstore demo

2005-01-15 Thread Dakota Jack
I agree.  Frank Zammetti (SP?) decries this sort of thing and rightly so.

Jack


On Sat, 15 Jan 2005 14:06:25 +0100, Leon Rosenberg
<[EMAIL PROTECTED]> wrote:
> 
> This was second time I've heard about xmoon, so I thought I'll take a look.
> The third source file I opened:
> 
> package org.xmoon.utility;
> 
> import java.io.*;
> import java.util.*;
> 
> public class GenericTokenizer
> {
> public static Vector getElements(String theString, String theBreak)
> throws Exception
> {
> Vector temp = new Vector();
> if (theString == null || theString.trim() == "") return
> temp;
> 
> StringTokenizer st = new StringTokenizer(theString,
> theBreak);
> 
> while (st.hasMoreTokens())
> {
> String currentToken = st.nextToken();
> temp.addElement(currentToken.trim());
> }
> return temp;
> }
> }
> 
> I know, due some compiler optimizations the above code actually _could_
> work, at least with constants, but really...
> 
> I really don't want to look further :-)
> 
> Regards
> Leon
> 
> > Von: mario nee [mailto:[EMAIL PROTECTED]
> > Gesendet: Freitag, 14. Januar 2005 21:00
> > An: user@struts.apache.org
> > Betreff: announce petstore demo
> >
> > New petstore demo powered by XMoon
> >
> > http://www.demozone.org/petstore/index.do
> >
> > XMoon site http://www.xmoon.org
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
--

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

---

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: announce petstore demo

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED]  This mail account is not 
functioning anymore. 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: announce petstore demo

2005-01-15 Thread Leon Rosenberg

This was second time I've heard about xmoon, so I thought I'll take a look.
The third source file I opened:

package org.xmoon.utility;

import java.io.*;
import java.util.*;

public class GenericTokenizer
{
public static Vector getElements(String theString, String theBreak)
throws Exception
{
Vector temp = new Vector();
if (theString == null || theString.trim() == "") return
temp;

StringTokenizer st = new StringTokenizer(theString,
theBreak);

while (st.hasMoreTokens()) 
{
String currentToken = st.nextToken();
temp.addElement(currentToken.trim());
}
return temp;
}
}

I know, due some compiler optimizations the above code actually _could_
work, at least with constants, but really...

I really don't want to look further :-)

Regards
Leon


> Von: mario nee [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 14. Januar 2005 21:00
> An: user@struts.apache.org
> Betreff: announce petstore demo
> 
> New petstore demo powered by XMoon
> 
> http://www.demozone.org/petstore/index.do
> 
> XMoon site http://www.xmoon.org
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: announce petstore demo

2005-01-15 Thread Leon Rosenberg

This was second time I've heard about xmoon, so I thought I'll take a look.
The third source file I opened:

package org.xmoon.utility;

import java.io.*;
import java.util.*;

public class GenericTokenizer
{
public static Vector getElements(String theString, String theBreak)
throws Exception
{
Vector temp = new Vector();
if (theString == null || theString.trim() == "") return
temp;

StringTokenizer st = new StringTokenizer(theString,
theBreak);

while (st.hasMoreTokens()) 
{
String currentToken = st.nextToken();
temp.addElement(currentToken.trim());
}
return temp;
}
}

I know, due some compiler optimizations the above code actually _could_
work, at least with constants, but really...

I really don't want to look further :-)

Regards
Leon


> Von: mario nee [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 14. Januar 2005 21:00
> An: user@struts.apache.org
> Betreff: announce petstore demo
> 
> New petstore demo powered by XMoon
> 
> http://www.demozone.org/petstore/index.do
> 
> XMoon site http://www.xmoon.org
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]