Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 166340
Collapse All | Expand All

(-)a/parsing.api/src/org/netbeans/modules/parsing/impl/SourceCache.java (-1 / +1 lines)
 Lines 154-164    Link Here 
154
                return parser;
154
                return parser;
155
            }
155
            }
156
        }
156
        }
157
        final Snapshot _snapshot = getSnapshot ();
158
        Parser _parser = null;
157
        Parser _parser = null;
159
        Lookup lookup = MimeLookup.getLookup (mimeType);
158
        Lookup lookup = MimeLookup.getLookup (mimeType);
160
        ParserFactory parserFactory = lookup.lookup (ParserFactory.class);
159
        ParserFactory parserFactory = lookup.lookup (ParserFactory.class);
161
        if (parserFactory != null) {
160
        if (parserFactory != null) {
161
            final Snapshot _snapshot = getSnapshot ();
162
            final Collection<Snapshot> _tmp = Collections.singleton (_snapshot);
162
            final Collection<Snapshot> _tmp = Collections.singleton (_snapshot);
163
            _parser = parserFactory.createParser (_tmp);
163
            _parser = parserFactory.createParser (_tmp);
164
        }
164
        }

Return to bug 166340
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