commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r1095657 - /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/DefaultParser.java
Date Thu, 21 Apr 2011 12:08:04 GMT
On 21 April 2011 12:22, Emmanuel Bourg <ebourg@apache.org> wrote:
> Le 21/04/2011 13:13, simonetripodi@apache.org a écrit :
>
>> @@ -117,15 +117,15 @@ public class DefaultParser implements Co
>>                  handleToken(argument);
>>              }
>>          }
>> -
>> +
>>          // check the arguments of the last option
>>          checkRequiredArgs();
>> -
>> +
>>          // add the default options
>>          handleProperties(properties);
>> -
>> +
>>          checkRequiredOptions();
>> -
>> +
>>          return cmd;
>>      }
>
>
> For the record, I'd like to preserve this kind of trailing spaces in order
> to keep the cursor on the indentation level when editing the code.

Most editors will automatically indent correctly; Eclipse certainly
does (though it tends to leave trailing spaces on blank lines).

But so long as the code does not have any TABs, I'm not personally
worried about a few trailing spaces.

>
> Emmanuel Bourg
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message