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/core/service InvocationType.java
Date Sat, 01 Nov 2003 16:23:58 GMT
jboynes     2003/11/01 08:23:58

  Modified:    modules/core/src/java/org/apache/geronimo/core/service
                        InvocationType.java
  Log:
  Fix check when assertions are enabled
  
  Revision  Changes    Path
  1.2       +2 -2      incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/service/InvocationType.java
  
  Index: InvocationType.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/core/service/InvocationType.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InvocationType.java	8 Sep 2003 04:25:19 -0000	1.1
  +++ InvocationType.java	1 Nov 2003 16:23:58 -0000	1.2
  @@ -92,7 +92,7 @@
       private final int ordinal;
   
       private InvocationType(String name, int ordinal, boolean local, boolean home) {
  -        assert ordinal < MAX_ORDINAL;
  +        assert ordinal <= MAX_ORDINAL;
           assert values[ordinal] == null;
           this.name = name;
           this.local = local;
  
  
  

Mime
View raw message