User: vharcq  
  Date: 02/04/23 11:14:00

  Modified:    core/samples/src/java/test/ejb CustomerBean.java
  Log:
  add a "compile time" unit test
  
  Revision  Changes    Path
  1.52      +5 -5      xdoclet/core/samples/src/java/test/ejb/CustomerBean.java
  
  Index: CustomerBean.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/samples/src/java/test/ejb/CustomerBean.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -w -r1.51 -r1.52
  --- CustomerBean.java 23 Apr 2002 18:09:39 -0000      1.51
  +++ CustomerBean.java 23 Apr 2002 18:14:00 -0000      1.52
  @@ -130,6 +130,11 @@
       */
      public Collection getAccounts()
      {
  +       // Some code here under that will flame the guy who break multiple method 
tags
  +       CustomerNormalValue normal = new CustomerNormalValue();
  +       normal.getCredit();
  +       CustomerLightValue light = new CustomerLightValue();
  +       light.getCredit();
         try
         {
            AccountHome home = (AccountHome)new 
InitialContext().lookup("java:comp/env/ejb/bank/Account");
  @@ -138,11 +143,6 @@
         {
            throw new EJBException(e);
         }
  -       // Some code here under that will flame the guy who break multiple method 
tags
  -       CustomerNormalValue normal = new CustomerNormalValue();
  -       normal.getCredit();
  -       CustomerLightValue light = new CustomerLightValue();
  -       light.getCredit();
      }
   
       /**
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to