[hg] main-silver: Enhance MyProperty's toString() to improve deb...

  • From:
  • To:
  • Subject: [hg] main-silver: Enhance MyProperty's toString() to improve deb...
  • Date: Fri, 26 Apr 2013 21:47:46 -0700

changeset a53de95e11ef in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/a53de95e11ef
description:
        Enhance MyProperty's toString() to improve debugging.

diffstat:

 spi.viewmodel/src/org/netbeans/modules/viewmodel/TreeModelNode.java |  6 
++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff --git 
a/spi.viewmodel/src/org/netbeans/modules/viewmodel/TreeModelNode.java 
b/spi.viewmodel/src/org/netbeans/modules/viewmodel/TreeModelNode.java
--- a/spi.viewmodel/src/org/netbeans/modules/viewmodel/TreeModelNode.java
+++ b/spi.viewmodel/src/org/netbeans/modules/viewmodel/TreeModelNode.java
@@ -2147,6 +2147,12 @@
                 return pe;
             }
         }
+
+        @Override
+        public String toString() {
+            return super.toString() + ", Value = "+properties.get(id);
+        }
+        
     }
 
     /** The single-threaded evaluator of lazy models. *//*

[hg] main-silver: Enhance MyProperty's toString() to improve deb...

mentlicher 04/27/2013

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