User: jules_gosnell
  Date: 01/09/23 12:42:33

  Modified:    jetty/src/main/org/jboss/jetty Jetty.java
  Log:
  sort out obscure NPE
  
  Revision  Changes    Path
  1.18      +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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Jetty.java        2001/09/18 23:06:49     1.17
  +++ Jetty.java        2001/09/23 19:42:32     1.18
  @@ -5,7 +5,7 @@
    * See terms of license at gnu.org.
    */
    
  -// $Id: Jetty.java,v 1.17 2001/09/18 23:06:49 jules_gosnell Exp $
  +// $Id: Jetty.java,v 1.18 2001/09/23 19:42:32 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