Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Bas Leijdekkers 
Subsystem
Code Analysis. Inspection 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7346
Fixed in build
8031
  • Submitted by   Stephen Friedrich
    2 years ago (12 Oct 2007 00:31)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:54)
  • Jira: IDEA-41477
    (history, comments)

IDEA-41477

Inspection "Unused import": Wrong warning

0
Idea thinks the import is unused. Removing it breaks the code.

@Namespace(value="http://foo.acme.com")
package com.lufthansatechnik.mscoreengine.trinidad;

import org.jboss.seam.annotations.Namespace;


Issue was resolved
Comments (3)
 
History (1)
 
Links
 
Stephen Friedrich
  Stephen Friedrich
12 Oct 2007 00:53
(2 years ago)
#permalink
Oops - missed the most important part: This is in a package javadoc (package-info.java).
Dmitry Jemerov
  Dmitry Jemerov
12 Oct 2007 16:52
(2 years ago)
#permalink
This problem is specific to IG's Unused Import inspection - IDEA's built-in unused import highlighting processes this correctly.
Bas Leijdekkers
  Bas Leijdekkers
28 Feb 2008 17:53
(23 months ago)
#permalink
fix backported to Selena