This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 484df4d  Remove redundant scope check.
     new fe04570  Merge pull request #2650 from sdedic/lsp/hotfix-failing-tests
484df4d is described below

commit 484df4d05c82ace34e43a1ec152488cdc8ec86c7
Author: Svata Dedic <svatopluk.de...@oracle.com>
AuthorDate: Fri Jan 8 15:19:43 2021 +0100

    Remove redundant scope check.
---
 ide/parsing.api/src/org/netbeans/modules/parsing/api/Source.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ide/parsing.api/src/org/netbeans/modules/parsing/api/Source.java 
b/ide/parsing.api/src/org/netbeans/modules/parsing/api/Source.java
index 95d076d..6fd7899 100644
--- a/ide/parsing.api/src/org/netbeans/modules/parsing/api/Source.java
+++ b/ide/parsing.api/src/org/netbeans/modules/parsing/api/Source.java
@@ -537,7 +537,6 @@ public final class Source implements Lookup.Provider {
             @NonNull final Lookup context) {
         synchronized (Source.class) {
             final Source source = 
SourceFactory.getDefault().createSource(fileObject, mimeType, context);
-            assert source.context == context;
             return source;
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to