[opencms-dev] something wierd with forms and jsp

Bernd Wolfsegger bw at code-create.com
Thu Aug 25 12:05:12 CEST 2005


But "&&" is still better, because this is the conditional operator. It's a 
shortcut too, and so there may be a slight performance enhancement ;)

"...The && operator is like & (ยง15.22.2), but evaluates its right-hand operand 
only if the value of its left-hand operand is true..."

Kind regards, Bernd

On Thursday, 25. August 2005 01:43, Thomas Maerz wrote:
> Siegfried Puchbauer <siegfried.puchbauer at gmail.com> writes:
> > maybe its your if statement ... why do you use a single '&' ... its a
> > binary operator... use &&
>
> http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#5242
>
>
> HTH anyway,
> Thomas
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev

-- 

[  Code Create
[  Web Content Management and Presentation


[  Bernd Wolfsegger
[  Sun Certified Programmer for Java(TM) 2 Platform


[  Contact in Germany
[
[  Lohmeyerstrasse 13
[  10587 Berlin
[  Germany
[  Fon +49 (0)30 26555788
[  Fax +49 (0)30 2651835
[  Mobile +49 (0)163 6505622

[  Contact in Kenya
[
[  P.O. Box 890
[  V/Market
[  00621 Nairobi
[  Kenya
[  Mobile +254 (0)720 481053

[  bw at code-create.com
[  http://www.code-create.com/




More information about the opencms-dev mailing list