Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 76849 - Wrong handling of FQN in transformation
Wrong handling of FQN in transformation
Product: contrib
Classification: Unclassified
Component: Jackpot
All All
: P1 (vote)
Assigned To: _ tball
Depends on:
  Show dependency treegraph
Reported: 2006-05-25 11:53 UTC by _ rkubacki
Modified: 2006-07-10 22:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2006-05-25 11:53:00 UTC
IDE dev build from May 22, jackpot modules from AU
        org.netbeans.jackpot [1.4.4 4 060514]
        org.netbeans.modules.jackpot/1 [1.4.4 4 060514]
        org.netbeans.modules.jackpot.rules [ 3 060509]

I tried 'unneceseary cast' rule and get uncompilable result when running on
core/src/org/netbeans/core/ because 

(RepositoryListener)org.openide.util.WeakListeners.create (...)

is changed to 


but no import is added.
Comment 1 _ tball 2006-05-25 15:44:25 UTC
I'll fix this today -- thanks for the report!
Comment 2 _ tball 2006-07-10 22:28:11 UTC
Fixed.  The problem was that the import analyzer was checking the star threshold
(how many classes to explicitly import before using a starred package instead)
with a file that had several imports from the same package as the FQN.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo