You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2002/01/10 21:54:24 UTC

cvs commit: xml-xerces/java/samples/dom ASBuilder.java

sandygao    02/01/10 12:54:24

  Modified:    java/samples/dom ASBuilder.java
  Log:
  Minimum number of arguments should be 2, not 4.
  
  Revision  Changes    Path
  1.3       +2 -2      xml-xerces/java/samples/dom/ASBuilder.java
  
  Index: ASBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/samples/dom/ASBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ASBuilder.java	17 Dec 2001 17:49:23 -0000	1.2
  +++ ASBuilder.java	10 Jan 2002 20:54:24 -0000	1.3
  @@ -92,7 +92,7 @@
    * NOTE: this behavior might be changed
    * 
    * @author Sandy Gao, IBM
  - * @version $Id: ASBuilder.java,v 1.2 2001/12/17 17:49:23 elena Exp $
  + * @version $Id: ASBuilder.java,v 1.3 2002/01/10 20:54:24 sandygao Exp $
    */
   public class ASBuilder implements DOMErrorHandler {
   
  @@ -127,7 +127,7 @@
       public static void main(String argv[]) {
   
           // too fee parameters
  -        if (argv.length < 4) {
  +        if (argv.length < 2) {
               printUsage();
               System.exit(1);
           }
  
  
  

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