[hg] main-silver: #222707: Provide toString() to better identify...

  • From:
  • To:
  • Subject: [hg] main-silver: #222707: Provide toString() to better identify...
  • Date: Thu, 06 Dec 2012 08:00:58 -0800

changeset 37f2332398b2 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/37f2332398b2
description:
        #222707: Provide toString() to better identify problematic services.

diffstat:

 api.debugger/src/org/netbeans/spi/debugger/SessionProvider.java |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (17 lines):

diff --git a/api.debugger/src/org/netbeans/spi/debugger/SessionProvider.java 
b/api.debugger/src/org/netbeans/spi/debugger/SessionProvider.java
--- a/api.debugger/src/org/netbeans/spi/debugger/SessionProvider.java
+++ b/api.debugger/src/org/netbeans/spi/debugger/SessionProvider.java
@@ -172,7 +172,13 @@
             String serviceName = (String) 
attrs.get(ContextAwareServiceHandler.SERVICE_NAME);
             return new SessionProvider.ContextAware(serviceName);
         }
+        
+        @Override
+        public synchronized String toString() {
+            return "SessionProvider.ContextAware for service 
"+serviceName+", context = "+context+", delegate = "+delegate;
     }
 
 }
 
+}
+

[hg] main-silver: #222707: Provide toString() to better identify...

mentlicher 12/06/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 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close