[hg] main-silver: Fixing wrong priority.

  • From: Tomas Zezula < >
  • To:
  • Subject: [hg] main-silver: Fixing wrong priority.
  • Date: Fri, 29 Mar 2013 15:44:05 -0700

changeset 9596dc264d1b in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/9596dc264d1b
description:
        Fixing wrong priority.

diffstat:

 parsing.api/src/org/netbeans/modules/parsing/impl/TaskProcessor.java |  4 
++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff --git 
a/parsing.api/src/org/netbeans/modules/parsing/impl/TaskProcessor.java 
b/parsing.api/src/org/netbeans/modules/parsing/impl/TaskProcessor.java
--- a/parsing.api/src/org/netbeans/modules/parsing/impl/TaskProcessor.java
+++ b/parsing.api/src/org/netbeans/modules/parsing/impl/TaskProcessor.java
@@ -438,12 +438,12 @@
         return parserLock.isHeldByCurrentThread();
     }
     
-    static void scheduleSpecialTask (final Runnable runnable, final int 
priority) {
+    static void scheduleSpecialTask (@NonNull final Runnable runnable, final 
int priority) {
         assert runnable != null;
         final ParserResultTask<? extends Result> task = new 
ParserResultTask<Result>() {
             @Override
             public int getPriority() {
-                return 0;
+                return priority;
             }
 
             @Override

[hg] main-silver: Fixing wrong priority.

Tomas Zezula 03/29/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