tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: svn commit: r1377835 - /tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java
Date Mon, 27 Aug 2012 21:00:35 GMT
On 27/08/2012 21:58, Konstantin Kolinko wrote:
> 2012/8/28  <markt@apache.org>:
>> Author: markt
>> Date: Mon Aug 27 20:32:19 2012
>> New Revision: 1377835
>>
>> URL: http://svn.apache.org/viewvc?rev=1377835&view=rev
>> Log:
> 
>> - Remove static imports (auto completes are easier without them)
>>
> 
> In Eclipse settings
> Java -> Editor -> Content Assist -> Favorites
> 
> My list there is:
> [[[
> org.hamcrest.CoreMatchers
> org.hamcrest.Matchers
> org.junit.Assert
> org.junit.matchers.JUnitMatchers
> ]]]
> (each line added with "New Type.." button)
> 
> After that content assist begins suggesting the static methods.

Ah. Useful. Thanks. I'll remember that. I think I still prefer the
non-static approach (simply style reasons - not technical) but that
removes probably the biggest pain of the static approach.

Cheers,

Mark


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


Mime
View raw message