This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249966

Summary: Unused imports on save
Product: editor Reporter: andny
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description andny 2015-01-23 10:10:03 UTC
Every time I save a file with ctrl+s or File => Save I get a unused import
in the file that is saved. So if I save a file 10 times I get the same
import 10 times. So its 10 unused imports since the import already exist the
first time. Then I have to do remove unused imports again and when I save it
I will get this new unused import again. I can never save the file without
getting this unused import. 

http://netbeans-org.1045718.n5.nabble.com/Unused-imports-on-save-tp5740397.html