User: user57  
  Date: 01/06/19 19:46:00

  Modified:    src/main/org/jboss/resource ConnectionFactoryLoader.java
  Log:
  o Added a default value ("") for princMapProps, to avoid NullPointerExceptions
    to be thrown when the PrincipalMappingProperties attribute has not been set
    or the ConfigurationService descides not to call the setter if the tag is
    determined to have no children (ie. <attribute name="..."></attribute>,
    though if there is at least a space (or new line) it will work fine.
  
  Revision  Changes    Path
  1.4       +2 -2      jbosscx/src/main/org/jboss/resource/ConnectionFactoryLoader.java
  
  Index: ConnectionFactoryLoader.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosscx/src/main/org/jboss/resource/ConnectionFactoryLoader.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ConnectionFactoryLoader.java      2001/04/20 08:27:02     1.3
  +++ ConnectionFactoryLoader.java      2001/06/20 02:46:00     1.4
  @@ -58,7 +58,7 @@
    *      
    *   @see RARDeployer
    *   @author Toby Allsopp ([EMAIL PROTECTED])
  - *   @version $Revision: 1.3 $
  + *   @version $Revision: 1.4 $
    */
   public class ConnectionFactoryLoader
      extends ServiceMBeanSupport
  @@ -80,7 +80,7 @@
   
      // Principal mapping parameters
      private String princMapClass;
  -   private String princMapProps;
  +   private String princMapProps = "";
   
      private ObjectName rarDeployerObjectName;
   
  
  
  

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

Reply via email to