Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/security UnsecureServlet.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/security UnsecureServlet.java

Author edk
Full name Ed Korthof
Date 2000-11-05 22:42:25 PST
Message User: edk
  Date: 00/11/05 22:42:25

  Modified: java/org/joist/security UnsecureServlet.java
  Log:
  don't try to clone a null Properties object. the JoistProperties object
  gets init'ed first in this same method (a little ways down) -- perhaps
  that should happen earlier?
  
  Revision Changes Path
  1.68 +7 -3 joist/java/org/joist​/security/UnsecureSe​rvlet.java
  
  Index: UnsecureServlet.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/security/Unsec​ureServlet.java,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- UnsecureServlet.java 2000/11/06 06:16:58 1.67
  +++ UnsecureServlet.java 2000/11/06 06:42:25 1.68
  @@ -73,7 +73,7 @@
    * loading to WebMacro servlets.
    *
    * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​
  - * @version $Revision: 1.67 $
  + * @version $Revision: 1.68 $
    *
    * Copyright (c) 1999 dataweb systems, inc.
    * Copyright (c) 1999, 2000 CollabNet, Inc.
  @@ -1059,8 +1059,12 @@
   
       // Start by reading the initialization parameters into a Properties
       // object. Make the System properties supply defaults.
  - Properties initParameters = (Properties)
  - JoistProperties.getI​nstance().getPropert​ies().clone();
  + Properties p = JoistProperties.getI​nstance().getPropert​ies();
  + Properties initParameters =
  + p == null ?
  + new Properties() :
  + (Properties) p.clone();
  +
       config = getServletConfig();
           if (config == null)
           {

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/security UnsecureServlet.java edk Ed Korthof 2000-11-05 22:42:25 PST
Messages per page: