commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester XMLIntrospectorHelper.java
Date Mon, 03 Feb 2003 14:23:32 GMT
mvdb        2003/02/03 06:23:31

  Modified:    betwixt/src/java/org/apache/commons/betwixt/digester
                        XMLIntrospectorHelper.java
  Log:
  Fixing nullpointer exception scenario when debugging.
  
  Revision  Changes    Path
  1.17      +3 -2      jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java
  
  Index: XMLIntrospectorHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- XMLIntrospectorHelper.java	8 Jan 2003 22:07:21 -0000	1.16
  +++ XMLIntrospectorHelper.java	3 Feb 2003 14:23:31 -0000	1.17
  @@ -392,7 +392,8 @@
   
                           if ( log.isDebugEnabled() ) {
                               log.debug( "!! " + propertyName + " -> " + descriptor );
  -                            log.debug( "!! " + name + " -> " + descriptor.getPropertyName()
);
  +                            log.debug( "!! " + name + " -> " + 
  +                            (descriptor!=null?descriptor.getPropertyName():"") );
                           }
                           
                           if ( descriptor != null ) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message