Trying to find out who calls HelpCtx in the NotifyLaterTest from core/windows IZ86497_source_header_switch_root iz_109114_scope_dev_root offline_disable_114106_root offline_disable_114106_sync_trunk_1 release60_beta1_base webapi_public_112441_merge_trunk_1
authorjtulach@netbeans.org
Wed, 22 Aug 2007 12:26:59 +0000
changeset 2927e40f9e8b667
parent 291 6294d05f297b
child 293 e58884daa119
Trying to find out who calls HelpCtx in the NotifyLaterTest from core/windows
openide.util/src/org/openide/util/HelpCtx.java
     1.1 --- a/openide.util/src/org/openide/util/HelpCtx.java	Tue Aug 21 12:53:16 2007 +0000
     1.2 +++ b/openide.util/src/org/openide/util/HelpCtx.java	Wed Aug 22 12:26:59 2007 +0000
     1.3 @@ -23,6 +23,7 @@
     1.4  import java.beans.IntrospectionException;
     1.5  import java.beans.Introspector;
     1.6  import java.net.URL;
     1.7 +import java.util.logging.Level;
     1.8  import java.util.logging.Logger;
     1.9  import javax.swing.JComponent;
    1.10  
    1.11 @@ -148,7 +149,11 @@
    1.12       * @return the help for that component (never <code>null</code>)
    1.13       */
    1.14      public static HelpCtx findHelp(java.awt.Component comp) {
    1.15 -        err.fine("findHelp on " + comp);
    1.16 +        if (err.isLoggable(Level.FINEST)) {
    1.17 +            err.log(Level.FINEST, "findHelp on " + comp, new Exception());
    1.18 +        } else {
    1.19 +            err.fine("findHelp on " + comp);
    1.20 +        }
    1.21  
    1.22          while (comp != null) {
    1.23              if (comp instanceof HelpCtx.Provider) {