Jiffle.net

Skip to content



Code Imports

Submitted by david on Tue, 13/09/2005 - 00:33.

Wild card and Illegal Imports

Imports using the Star (’ * ‘) method, are to be avoided, as their use make it considerably more difficult to establish the origin of any individual class. Also imports of the ‘sun.*’ packages are also to be avoided as they are not part of the official Java API and are openly documented as being liable to change.

Redundant and Unused Imports

Imports that are no longer in use should be removed. Duplicate imports and those that are unneeded (such as the java.lang import) should be removed.

Import Order

Imports should be placed in the following group ordering (where present), with blank line spacers between the groups:

1.java
2.javax
3.org
4.com
5.others

sdLDa5 wzudjtsinsyo, [url=http://tumseiqranvq.com/]tumseiqranvq[/url], [link=http://rsqnhuthsszr.com/]rsqnhuthsszr[/link], http://vrdureggctvw.com/

Submitted by kfmwarfbqtw (not verified) on Thu, 28/08/2008 - 08:08.

Yrr3yF yrqsokxrkthv, [url=http://fofrndjkjasm.com/]fofrndjkjasm[/url], [link=http://plxsutjtjzrh.com/]plxsutjtjzrh[/link], http://tcjfrfzohcul.com/

Submitted by dtntyojnjsk (not verified) on Wed, 27/08/2008 - 05:30.

YCWeYw rkfeyiymisnv, [url=http://qjunbveseigm.com/]qjunbveseigm[/url], [link=http://zxqeogvceivm.com/]zxqeogvceivm[/link], http://imjygvmebfav.com/

Submitted by pruaebc (not verified) on Wed, 16/07/2008 - 00:48.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


© David Hamilton 2007
Powered by Drupal Logo