User: vharcq  
  Date: 02/04/02 09:51:08

  Modified:    core/src/xdoclet/ejb/tags EjbTagsHandler.java
  Log:
  We can not suppose "remote" is the default anywhere else the isOnlyRemote and 
isOnlyLocal loose their meanings.
  
  Revision  Changes    Path
  1.34      +11 -7     xdoclet/core/src/xdoclet/ejb/tags/EjbTagsHandler.java
  
  Index: EjbTagsHandler.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/ejb/tags/EjbTagsHandler.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -w -r1.33 -r1.34
  --- EjbTagsHandler.java       2 Apr 2002 12:41:32 -0000       1.33
  +++ EjbTagsHandler.java       2 Apr 2002 17:51:08 -0000       1.34
  @@ -29,7 +29,7 @@
   /**
    * @author    Ara Abrahamian ([EMAIL PROTECTED])
    * @created   Oct 15, 2001
  - * @version   $Revision: 1.33 $
  + * @version   $Revision: 1.34 $
    */
   public class EjbTagsHandler extends XDocletTagSupport
   {
  @@ -238,11 +238,13 @@
                        "ejb:bean",
                        "view-type",
                        "remote,local,both",
  -                     "remote",
  +                     null,
                        true,
                        false
                );
  -
  +        if (value == null)
  +            return true;
  +             else
                return value.indexOf( "local" ) != -1 || value.indexOf( "both" ) != -1;
        }
   
  @@ -253,11 +255,13 @@
                        "ejb:bean",
                        "view-type",
                        "remote,local,both",
  -                     "remote",
  +                     null,
                        true,
                        false
                );
  -
  +        if (value == null)
  +            return true;
  +        else
                return value.indexOf( "remote" ) != -1 || value.indexOf( "both" ) != 
-1;
        }
   
  
  
  

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

Reply via email to