User: jules_gosnell
  Date: 01/09/23 12:51:36

  Modified:    jetty/src/main/org/jboss/jetty Tag: Branch_2_4 Jetty.java
  Log:
  fix obscure NPE
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.9.2.6   +3 -2      contrib/jetty/src/main/org/jboss/jetty/Jetty.java
  
  Index: Jetty.java
  ===================================================================
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/Jetty.java,v
  retrieving revision 1.9.2.5
  retrieving revision 1.9.2.6
  diff -u -r1.9.2.5 -r1.9.2.6
  --- Jetty.java        2001/09/18 23:04:34     1.9.2.5
  +++ Jetty.java        2001/09/23 19:51:36     1.9.2.6
  @@ -5,7 +5,7 @@
    * See terms of license at gnu.org.
    */
    
  -// $Id: Jetty.java,v 1.9.2.5 2001/09/18 23:04:34 jules_gosnell Exp $
  +// $Id: Jetty.java,v 1.9.2.6 2001/09/23 19:51:36 jules_gosnell Exp $
   
   // A Jetty HttpServer with the interface expected by JBoss'
   // J2EEDeployer...
  @@ -54,7 +54,8 @@
     synchronized void
       setJettyHome(String jettyHome) // not public
     {
  -    System.setProperty("jetty.home", jettyHome);
  +    if (jettyHome!=null)
  +      System.setProperty("jetty.home", jettyHome);
     }
   
     public synchronized String
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to