Static imports should always be used conservatively. However, there a
few classes that static imports make for a much more fluent style and
is a generally accepted practice:

1) Mockito
2) JUnit Assert
3) Guava Preconditions

I have noticed that Flume does not use static imports but nothing is
mentioned on the wiki. Are we against static imports in the cases
above?

Brock

-- 
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/

Reply via email to