geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean GConstructorInfo.java
Date Fri, 16 Jan 2004 02:18:06 GMT
djencks     2004/01/15 18:18:06

  Modified:    modules/kernel/src/java/org/apache/geronimo/gbean
                        GConstructorInfo.java
  Log:
  mild sanity check
  
  Revision  Changes    Path
  1.2       +2 -1      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/GConstructorInfo.java
  
  Index: GConstructorInfo.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/gbean/GConstructorInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GConstructorInfo.java	12 Jan 2004 01:38:55 -0000	1.1
  +++ GConstructorInfo.java	16 Jan 2004 02:18:06 -0000	1.2
  @@ -73,6 +73,7 @@
       private final Map attributeTypeMap;
   
       public GConstructorInfo(List attributeNames, List types) {
  +        assert attributeNames.size() == types.size(): "name count: " + attributeNames.size()
+ " does not match type count: " + types.size();
           // todo check of null types and names
           // todo check that is a name is listed twice that is has the same type each time
           this.attributeNames = Collections.unmodifiableList(attributeNames);
  
  
  

Mime
View raw message