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 177791 - [68cat] Java Annotation imports show as unused
Summary: [68cat] Java Annotation imports show as unused
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-28 16:25 UTC by dynamite
Modified: 2011-10-02 07:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2009-11-28 16:25:33 UTC
I am using ScalaTest.  To use it under NB I need to make it run under JUnit and so I import:

import org.junit.runner.RunWith
import org.scalatest.junit.JUnitRunner

and declare @RunWith(classOf[JUnitRunner]) on the test class.  The imports are left with an unused yellow triangle.
Comment 1 vaskar 2011-10-02 07:19:01 UTC
I'm getting exactly the same issue in Netbeans 7.0.1.