Anish, most of the Eclipse users have a setting that refactors some code on save. One thing it does is re-organize imports. Does your IDE have this setting?