User: vharcq  
  Date: 02/05/14 13:41:28

  Modified:    modules/ejb/src/xdoclet/modules/ejb/lookup Tag:
                        MODULE_REFACTORING_BRANCH LookupObjectSubTask.java
  Log:
  Use multiple addOfType() instead of a comma separated setOfType()
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.9   +8 -10     
xdoclet/modules/ejb/src/xdoclet/modules/ejb/lookup/Attic/LookupObjectSubTask.java
  
  Index: LookupObjectSubTask.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/lookup/Attic/LookupObjectSubTask.java,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -w -r1.1.2.8 -r1.1.2.9
  --- LookupObjectSubTask.java  13 May 2002 11:19:27 -0000      1.1.2.8
  +++ LookupObjectSubTask.java  14 May 2002 20:41:28 -0000      1.1.2.9
  @@ -21,7 +21,7 @@
    * @author            Konstantin Pribluda
    * @created           October 3, 2001
    * @xdoclet:subtask   name="utilobject" parent="xdoclet.modules.ejb.EjbDocletTask"
  - * @version           $Revision: 1.1.2.8 $
  + * @version           $Revision: 1.1.2.9 $
    */
   public class LookupObjectSubTask extends AbstractEjbCodeGeneratorSubTask
   {
  @@ -32,9 +32,8 @@
       private static String DEFAULT_TEMPLATE_FILE = "resources/lookup.xdt";
   
       /**
  -     * A configuration parameter for specifying the utility class name pattern.
  -     * By default the value is used for deciding the utility name. {0} in the
  -     * value mean current class's symbolic name which for an EJBean is the EJB
  +     * A configuration parameter for specifying the utility class name pattern. By 
default the value is used for
  +     * deciding the utility name. {0} in the value mean current class's symbolic 
name which for an EJBean is the EJB
        * name.
        *
        * @see   #getUtilClassPattern()
  @@ -63,7 +62,8 @@
       {
           setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE));
           setDestinationFile(getUtilClassPattern() + ".java");
  -        setOfType("javax.ejb.EntityBean,javax.ejb.SessionBean");
  +        addOfType("javax.ejb.EntityBean");
  +        addOfType("javax.ejb.SessionBean");
       }
   
       /**
  @@ -107,11 +107,9 @@
       }
   
       /**
  -     * Returns the configuration parameter for specifying the utility class name
  -     * pattern. By default the value is used for deciding the utility name. {0}
  -     * in the value mean current class's symbolic name which for an EJBean is
  -     * the EJB name. If nothing explicitly specified by user then "{0}Util" is
  -     * used by default.
  +     * Returns the configuration parameter for specifying the utility class name 
pattern. By default the value is used
  +     * for deciding the utility name. {0} in the value mean current class's 
symbolic name which for an EJBean is the EJB
  +     * name. If nothing explicitly specified by user then "{0}Util" is used by 
default.
        *
        * @return   The UtilClassPattern value
        */
  
  
  

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to