[hg] main-silver: #222100: Use a custom instance of RequestProce...

  • From:
  • To:
  • Subject: [hg] main-silver: #222100: Use a custom instance of RequestProce...
  • Date: Thu, 15 Nov 2012 02:38:08 -0800

changeset 3872725902de in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/3872725902de
description:
        #222100: Use a custom instance of RequestProcessor.

diffstat:

 
debugger.jpda.projects/src/org/netbeans/modules/debugger/jpda/projects/RunToCursorActionProvider.java
 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff --git 
a/debugger.jpda.projects/src/org/netbeans/modules/debugger/jpda/projects/RunToCursorActionProvider.java
 
b/debugger.jpda.projects/src/org/netbeans/modules/debugger/jpda/projects/RunToCursorActionProvider.java
--- 
a/debugger.jpda.projects/src/org/netbeans/modules/debugger/jpda/projects/RunToCursorActionProvider.java
+++ 
b/debugger.jpda.projects/src/org/netbeans/modules/debugger/jpda/projects/RunToCursorActionProvider.java
@@ -77,6 +77,7 @@
     
     private EditorContextDispatcher editorContext;
     private LineBreakpoint          breakpoint;
+    private static RequestProcessor RP = new 
RequestProcessor(RunToCursorActionProvider.class.getName());
     
     {
         editorContext = EditorContextDispatcher.getDefault();
@@ -121,7 +122,7 @@
             editorContext.getCurrentURLAsString(),
             editorContext.getCurrentLineNumber ()
         );
-        RequestProcessor.getDefault().post(new Runnable() {
+        RP.post(new Runnable() {
             @Override
             public void run() {
                 // 1) set breakpoint

[hg] main-silver: #222100: Use a custom instance of RequestProce...

mentlicher 11/15/2012

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close