Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Only import classes that are needed

 

 

Do not use wildcard in import statement. It giving a very bad performance in Bean Shell interpreter to search the whole package and loads it in memory.

...

Code Block
languagejava
import java.util.Collection;

 

 

...

2. Do not need to mention the type of element of a collections

...