[hg] main-silver: #232514: removed obsoleted debug code; instanc...

  • From: Svata Dedic < >
  • To:
  • Subject: [hg] main-silver: #232514: removed obsoleted debug code; instanc...
  • Date: Fri, 12 Jul 2013 08:53:41 -0700

changeset 6c1eaa75cd8a in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/6c1eaa75cd8a
description:
        #232514: removed obsoleted debug code; instanceof now guards also 
against null.

diffstat:

 
csl.api/src/org/netbeans/modules/csl/editor/semantic/SemanticHighlighter.java 
|  9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diffs (19 lines):

diff --git 
a/csl.api/src/org/netbeans/modules/csl/editor/semantic/SemanticHighlighter.java
 
b/csl.api/src/org/netbeans/modules/csl/editor/semantic/SemanticHighlighter.java
--- 
a/csl.api/src/org/netbeans/modules/csl/editor/semantic/SemanticHighlighter.java
+++ 
b/csl.api/src/org/netbeans/modules/csl/editor/semantic/SemanticHighlighter.java
@@ -135,15 +135,6 @@
                         SemanticAnalyzer task = 
language.getSemanticAnalyzer();
                         if (manager != null && task != null) {
                             Parser.Result r = 
resultIterator.getParserResult();
-                            String rmime = r.getSnapshot().getMimeType();
-                            //#161033 debug
-                            if(!rmime.equals(mimeType)) {
-                                throw new 
IllegalStateException("resultIterator.getSnapshot().getMimeType() [" +
-                                        mimeType + "] != 
resultIterator.getParserResult().getSnapshot().getMimeType() ["
-                                        + rmime + "; mimepath = " + 
r.getSnapshot().getMimePath() + "]");
-                            }
-                            //eof debug
-
                             if (r instanceof ParserResult) {
                                 process(language, (ParserResult) r, 
newColoring);
                             }

[hg] main-silver: #232514: removed obsoleted debug code; instanc...

Svata Dedic 07/12/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close