cvs commit: spice/sandbox/metaclass/src/java/org/realityforge/metaclass/model ClassDescriptor.java

Peter Donald <[email protected]>
Newsgroups gmane.comp.java.spice.cvs
Message-ID <[email protected]>
donaldp     03/10/28 03:27:19

  Modified:    sandbox/metaclass/src/java/org/realityforge/metaclass/model
                        ClassDescriptor.java
  Log:
  Rename var
  
  Revision  Changes    Path
  1.9       +6 -6      spice/sandbox/metaclass/src/java/org/realityforge/metaclass/model/ClassDescriptor.java
  
  Index: ClassDescriptor.java
  ===================================================================
  RCS file: /cvsroot/spice/spice/sandbox/metaclass/src/java/org/realityforge/metaclass/model/ClassDescriptor.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ClassDescriptor.java	28 Oct 2003 11:02:02 -0000	1.8
  +++ ClassDescriptor.java	28 Oct 2003 11:27:19 -0000	1.9
  @@ -15,7 +15,7 @@
    * the classes methods.
    *
    * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
  - * @version $Revision: 1.8 $ $Date: 2003/10/28 11:02:02 $
  + * @version $Revision: 1.9 $ $Date: 2003/10/28 11:27:19 $
    */
   public class ClassDescriptor
       extends FeatureDescriptor
  @@ -41,20 +41,20 @@
        * The descriptor usually represents a corrresponding
        * java class but this is not always the case.
        *
  -     * @param classname the name of class
  +     * @param name the name of class
        * @param attributes the top level attribute metadata
        * @param fields the field descriptors for class
        * @param methods the method descriptors for class
        */
  -    public ClassDescriptor( final String classname,
  +    public ClassDescriptor( final String name,
                               final Attribute[] attributes,
                               final FieldDescriptor[] fields,
                               final MethodDescriptor[] methods )
       {
           super( attributes, attributes );
  -        if( null == classname )
  +        if( null == name )
           {
  -            throw new NullPointerException( "classname" );
  +            throw new NullPointerException( "name" );
           }
           if( null == fields )
           {
  @@ -78,7 +78,7 @@
                   throw new NullPointerException( "methods[" + i + "]" );
               }
           }
  -        m_name = classname;
  +        m_name = name;
           m_fields = fields;
           m_methods = methods;
       }
  
  
  


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.