Hi Staffan,
84 int exit = arg1.equals("-help") || arg1.equals("-h") ? 0 : 1;
Looks like one more case of this.
Thanks!
/peter
On 14 Nov 2013, at 13:19, Staffan Larsen <[email protected]> wrote:
> Updated webrev: http://cr.openjdk.java.net/~sla/8027765/webrev.01/
>
> On 14 Nov 2013, at 13:12, Staffan Larsen <[email protected]> wrote:
>
>>
>> On 14 Nov 2013, at 10:46, Weijun Wang <[email protected]> wrote:
>>
>>> Also, I am not sure if
>>>
>>> int exit = arg1.equals("-help") || arg1.equals("-h") ? 0 : 1;
>>>
>>> really does what it intends to. Cannot remember the precedence order of all
>>> these operators. I would add parentheses.
>>
>> Good point. I’ll add parentheses.
>>
>> /Staffan
>