User: jwalters
  Date: 02/04/08 21:27:25

  Modified:    src/main/org/jboss/verifier/strategy EJBVerifier20.java
  Log:
  Managed to checkin and break the testsuite... runs properly on my machine now.
  
  Revision  Changes    Path
  1.13      +11 -6     jboss/src/main/org/jboss/verifier/strategy/EJBVerifier20.java
  
  Index: EJBVerifier20.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/verifier/strategy/EJBVerifier20.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- EJBVerifier20.java        9 Apr 2002 04:06:37 -0000       1.12
  +++ EJBVerifier20.java        9 Apr 2002 04:27:25 -0000       1.13
  @@ -19,7 +19,7 @@
    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    *
    * This package and its source code is available at www.jboss.org
  - * $Id: EJBVerifier20.java,v 1.12 2002/04/09 04:06:37 jwalters Exp $
  + * $Id: EJBVerifier20.java,v 1.13 2002/04/09 04:27:25 jwalters Exp $
    */
   
   
  @@ -49,7 +49,7 @@
    *
    * @author   Juha Lindfors   ([EMAIL PROTECTED])
    * @author  Jay Walters     ([EMAIL PROTECTED])
  - * @version $Revision: 1.12 $
  + * @version $Revision: 1.13 $
    * @since    JDK 1.3
    */
   public class EJBVerifier20 extends AbstractVerifier {
  @@ -1995,7 +1995,7 @@
                * Spec 10.6.2
                */
   
  -                     try {
  +                     /*try {  This isn't quite working right yet,so I'll leave it 
off
                   it = entity.getCMPFields();
                   while(it.hasNext()) {
                       String fieldName = (String)it.next();
  @@ -2015,14 +2015,19 @@
                       try {
                                        Method m = bean.getDeclaredMethod(setName, 
args);
                                    } catch (NoSuchMethodException nsme) {
  -                        fireSpecViolationEvent(entity, new Section("10.6.2.h"));
  -                        status = false;
  +                        args[0] = classloader.loadClass("java.util.Collection");
  +                        try {
  +                                         Method m = bean.getDeclaredMethod(setName, 
args);
  +                        } catch (NoSuchMethodException nsme2) {
  +                            fireSpecViolationEvent(entity, new Section("10.6.2.h"));
  +                            status = false;
  +                        }
                                    }
                     }                           
                } catch (NoSuchFieldException nsfe) {
                    fireSpecViolationEvent(entity, new Section("10.6.2.j"));
                    status = false;
  -                      }
  +                      }*/
   
               /*
                * The ejbSelect(...) method signatures MUST follow these rules:
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to