Github user phansson commented on a diff in the pull request:

    https://github.com/apache/incubator-netbeans/pull/2#discussion_r139602369
  
    --- Diff: o.n.core/src/org/netbeans/core/NbAuthenticator.java ---
    @@ -71,7 +74,19 @@ private NbAuthenticator() {
     
         static void install() {
             if (Boolean.valueOf(NbBundle.getMessage(GuiRunLevel.class, 
"USE_Authentication"))) {
    -            setDefault(new NbAuthenticator());
    +            // Look for custom authenticator
    +            Authenticator authenticator = 
Lookup.getDefault().lookup(Authenticator.class);
    +            if (authenticator == null) {
    +                authenticator = new NbAuthenticator();
    +            }
    +            if (authenticator.getClass().equals(NbAuthenticator.class)) {
    --- End diff --
    
    After analyzing hundreds of messages files (NB log files) from my customers 
there's one thing I'm certain of: you can never have too much logging. :-)
    Why do you think the logging calls are unnecessary?


---

Reply via email to