hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Java 5 tags and indentation
Date Fri, 01 Feb 2008 20:12:27 GMT
Ah - that must be my fault.
It looks OK to me - the method is aligned with the @ - but I have tabs
set at 4 spaces.

It appears that the auto-correct must have changed the method line as
well. Strange since the @Override has 4 spaces and the method was
previously 4 spaces indented. Seems like an Elipse bug.

I can fix those shortly.

Sebastian
On 01/02/2008, Roland Weber <ossfwot@dubioso.net> wrote:
> Hi folks,
>
> after adding the Java 5 tags, our code is now formatted
> like this example:
>
>     @Override
>         protected HttpParams createHttpParams() {
>         HttpParams params = new BasicHttpParams();
>         HttpProtocolParams.setVersion(params,
>                 HttpVersion.HTTP_1_1);
>         HttpProtocolParams.setContentCharset(params,
>                 HTTP.DEFAULT_CONTENT_CHARSET);
>         HttpProtocolParams.setUseExpectContinue(params,
>                 true);
>
> That is, the actual method signature is now indented to
> the same depth as the method body. Not even an empty line
> to separate the two. I'm sorry, but this hurts my eyes.
>
> Suggestions?
>
> cheers,
>   Roland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>

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


Mime
View raw message