geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb EJBInvocationUtil.java
Date Sat, 01 Nov 2003 16:25:58 GMT
jboynes     2003/11/01 08:25:58

  Modified:    modules/core/src/java/org/apache/geronimo/ejb
                        EJBInvocationUtil.java
  Log:
  Fix bounds check when assertions are enabled
  
  Revision  Changes    Path
  1.8       +2 -2      incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/EJBInvocationUtil.java
  
  Index: EJBInvocationUtil.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/ejb/EJBInvocationUtil.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EJBInvocationUtil.java	8 Sep 2003 04:28:26 -0000	1.7
  +++ EJBInvocationUtil.java	1 Nov 2003 16:25:58 -0000	1.8
  @@ -134,7 +134,7 @@
       private final transient boolean isTransient;
   
       private EJBInvocationUtil(String name, int ordinal, boolean isTransient) {
  -        assert ordinal < MAX_ORDINAL;
  +        assert ordinal <= MAX_ORDINAL;
           assert values[ordinal] == null;
           this.name = name;
           this.ordinal = ordinal;
  
  
  

Mime
View raw message