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/io BeanCreateRule.java
Date Sun, 19 Jan 2003 16:57:52 GMT
mvdb        2003/01/19 08:57:52

  Modified:    betwixt/src/java/org/apache/commons/betwixt/io Tag:
                        BETWIXT_1_0_ALPHA_1_RELEASE_BRANCH
                        BeanCreateRule.java
  Log:
  Fixed recursive behaviour. Rule was written like
  */elementsubElement/ Now it is written with */element/subElement/
  which works a lot better :)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.17.2.1  +7 -7      jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java
  
  Index: BeanCreateRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java,v
  retrieving revision 1.17
  retrieving revision 1.17.2.1
  diff -u -r1.17 -r1.17.2.1
  --- BeanCreateRule.java	8 Jan 2003 22:07:21 -0000	1.17
  +++ BeanCreateRule.java	19 Jan 2003 16:57:52 -0000	1.17.2.1
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -506,7 +506,7 @@
                                       path += '/' + grandChildQName;
                                       
                                   } else {
  -                                    path = prefix + grandChildQName;
  +                                    path = prefix + (prefix.endsWith("/")?"":"/") + grandChildQName;
                                   }
                               }
                           }
  
  
  

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


Mime
View raw message