C'mon, we agreed on this! From our style guide: No wildcard imports in the main tree
Wildcard imports, static or otherwise, are not used. Static wildcard imports in the test tree Wildcard static imports are encouraged for test imports like JUnit, EasyMock, and Hamcrest. Sent from my iPhone > On 2015/09/02, at 8:05, Gary Gregory <[email protected]> wrote: > > Gross. If you have more than one * you have no idea where stuff comes from. > > Gary > >> On Tue, Sep 1, 2015 at 4:02 PM, Remko Popma <[email protected]> wrote: >> The explicit static imports is not an improvement. >> >> I much prefer >> import static org.junit.Assert.*; >> >> >> Sent from my iPhone >> >> > On 2015/09/02, at 7:04, [email protected] wrote: >> > >> > import static org.junit.Assert.*; >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] > > > > -- > E-Mail: [email protected] | [email protected] > Java Persistence with Hibernate, Second Edition > JUnit in Action, Second Edition > Spring Batch in Action > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory
