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 154272 - File is present twice in the look up
Summary: File is present twice in the look up
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Model (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-01 14:47 UTC by scanti
Modified: 2016-07-07 09:57 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 scanti 2008-12-01 14:47:56 UTC
I was browsing the NetBeans sources looking for a nice example of ant scripts inside nblib and I noticed that inside
WSDLCatalogModel.java the createModelSource method, file is put twice in the lookup. I am not really sure whether it is
a bug or not. 

public ModelSource createModelSource(File file, boolean readOnly) throws CatalogModelException{
        
        Lookup lookup = Lookups.fixed(new Object[]{
            file,
            getDocument(file),
            getDefault(),
            // new StreamSource(file)
            file
        });
        
        return new ModelSource(lookup, readOnly);
    }
Comment 1 Martin Balin 2016-07-07 09:57:00 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss