You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by pc...@apache.org on 2004/02/27 00:22:50 UTC

cvs commit: xml-xmlbeans/v2/test/src/jamtest/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses Base.java

pcal        2004/02/26 15:22:50

  Modified:    v2/src/binding/org/apache/xmlbeans/impl/binding/compile
                        Java2Schema.java
               v2/test/src/jamtest/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses
                        Base.java
  Log:
  jam: fix test class
  
  Revision  Changes    Path
  1.32      +2 -1      xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2Schema.java
  
  Index: Java2Schema.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Java2Schema.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- Java2Schema.java	12 Feb 2004 20:06:07 -0000	1.31
  +++ Java2Schema.java	26 Feb 2004 23:22:50 -0000	1.32
  @@ -70,6 +70,7 @@
     private BindingFile mBindingFile;  // the file we're creating
     private BindingLoader mLoader; // the full loader: bindingFile + baseLoader
     private SchemaDocument mSchemaDocument; // schema doc we're generating
  +  //private Map mTns2Schema = new HashMap();
     private SchemaDocument.Schema mSchema;
     private JClass[] mClasses; // the input classes
     private JAnnotationLoader mAnnotationLoader = null;
  @@ -587,4 +588,4 @@
     }
   
   
  -}
  \ No newline at end of file
  +}
  
  
  
  1.3       +1 -27     xml-xmlbeans/v2/test/src/jamtest/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Base.java
  
  Index: Base.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/test/src/jamtest/dummyclasses/org/apache/xmlbeans/test/jam/dummyclasses/Base.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Base.java	25 Feb 2004 18:56:50 -0000	1.2
  +++ Base.java	26 Feb 2004 23:22:50 -0000	1.3
  @@ -9,8 +9,7 @@
    *
    *  @author pcal Nov 25, 2003
    */
  -public abstract class Base extends Foo,
  - {
  +public abstract class Base implements Foo  {
   
     /**
      * NOT doonkie javadoc! 
  @@ -23,35 +22,10 @@
   
     public int getId() { return -1; }
   
  -  public double getId2();
   
     public String getFoo() { return "foo"; } // {{}}{{
   
     public void setId(int id) {}
   
  -  public void setSomething(int x, 
  -foo bii,
  -Object dss);
  -
  -  /**
  -   * Creates a new member in this Annotation definition and returns the
  -   * result.
  -   *
  -   * @param type JClass representing the type of the new member.
  -   * @param name A name for the new member.
  -   * @param dflt A default value for the new member.  Primitives should be
  -   * wrapped in java.lang wrappers, e.g. java.lang.Integer.
  -   *
  -   * @return The newly-added EAnnotation.
  -   */
  -  public EAnnotationMemberDefinition addNewMemberDefinition(JClass type,
  -                                                            String name,
  -                                                            Object dflt);
  -
  -  /**
  -   *
  -   * @param memberDef
  -   */
  -  public void removeMemberDefinition(EAnnotationMemberDefinition memberDef);
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org