User: vharcq  
  Date: 02/06/10 13:11:14

  Modified:    modules/ejb/src/xdoclet/modules/ejb EjbTagsHandler.java
  Log:
  When finding ref-name from a ejb-name we need to replace '.' by '/'
  Bug 549243
  
  Revision  Changes    Path
  1.4       +5 -4      xdoclet/modules/ejb/src/xdoclet/modules/ejb/EjbTagsHandler.java
  
  Index: EjbTagsHandler.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/EjbTagsHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -w -r1.3 -r1.4
  --- EjbTagsHandler.java       30 May 2002 18:39:01 -0000      1.3
  +++ EjbTagsHandler.java       10 Jun 2002 20:11:14 -0000      1.4
  @@ -45,7 +45,7 @@
    * @author               Ara Abrahamian ([EMAIL PROTECTED])
    * @created              Oct 15, 2001
    * @xdoclet:taghandler   namespace="Ejb"
  - * @version              $Revision: 1.3 $
  + * @version              $Revision: 1.4 $
    */
   public class EjbTagsHandler extends XDocletTagSupport
   {
  @@ -776,13 +776,14 @@
       }
   
       /**
  -     * Describe what the method does
  +     * Replace "." by "/" and add "ejb/" to the 
parameter.
        *
  -     * @param ejbName  Describe what the parameter does
  -     * @return         Describe the return value
  +     * @param ejbName  The string to parse
  +     * @return         The parsed String
        */
       protected String prefixWithEjbSlash(String ejbName)
       {
  +        ejbName = ejbName.replace('.', '/');
           if (ejbName.startsWith("ejb/")) {
               return ejbName;
           }
  
  
  

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

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

Reply via email to