Re: Anti-patterns

2014-02-25 Thread Marcus
he Int >>> range >>> > >>> > public class App >>> > { >>> > public static void main(String[] args) >>> > { >>> > Integer a = 128; >>> > Integer b = 128; >>> > &

Re: Anti-patterns

2014-02-25 Thread Kelven Yang
if (a == b) { >> > System.out.println("Equal!"); >> > } else { >> > System.out.println("Different!"); >> > } >> > } >> > } >&g

Re: Anti-patterns

2014-02-25 Thread Mike Tutkowski
> Integer a = 128; > > Integer b = 128; > > > > if (a == b) { > > System.out.println("Equal!"); > > } else { > > System.out.println("Different!"); > >

Re: Anti-patterns

2014-02-25 Thread Kelven Yang
t; Integer b = 128; >> >> if (a == b) { >> System.out.println("Equal!"); >> } else { >> System.out.println("Different!"); >> } >&

Re: Anti-patterns

2014-02-25 Thread Marcus
ut:Different. > > Regards > Sadhu > > > > > -Original Message- > From: Min Chen [mailto:min.c...@citrix.com] > Sent: 25 February 2014 23:08 > To: dev@cloudstack.apache.org > Subject: Re: Anti-patterns > > Thanks Hugo for the nice tutorial. In the last exam

RE: Anti-patterns

2014-02-25 Thread Suresh Sadhu
x.com] Sent: 25 February 2014 23:08 To: dev@cloudstack.apache.org Subject: Re: Anti-patterns Thanks Hugo for the nice tutorial. In the last example, are you trying to saying this (luckily this time == works although not recommended) public class App { public

RE: Anti-patterns

2014-02-25 Thread Edison Su
That's why I move to Scala, == means what it should be:) Thanks for the sharing. > -Original Message- > From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers > Sent: Tuesday, February 25, 2014 5:41 AM > To: > Subject: Anti-patterns > > Anti-pattern: > An anti-pattern (or a

Re: Anti-patterns

2014-02-25 Thread Min Chen
Thanks Hugo for the nice tutorial. In the last example, are you trying to saying this (luckily this time == works although not recommended) public class App { public static void main(String[] args) { Integer a = 1; Integer b = 1; if