commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@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:56:25 GMT
On Thu, Apr 21, 2011 at 8:08 AM, sebb <sebbaz@gmail.com> wrote:

> 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).
>

You can configure Eclipse's "Clean Up" operation to remove trailing spaces.

Gary

>
> 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
>
>


-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message