axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis Version.java
Date Thu, 28 Mar 2002 15:14:04 GMT
dug         02/03/28 07:14:04

  Modified:    java/src/org/apache/axis Version.java
  Log:
  Missing an "else" stmt - without java org.apache.axis.Version failed
  
  Revision  Changes    Path
  1.4       +9 -8      xml-axis/java/src/org/apache/axis/Version.java
  
  Index: Version.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/Version.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Version.java	20 Mar 2002 16:14:29 -0000	1.3
  +++ Version.java	28 Mar 2002 15:14:04 -0000	1.4
  @@ -83,13 +83,14 @@
       public static void main(String[] args) {
           if (args.length != 1)
               System.out.println(getVersion());
  -        
  -        try {
  -            Call call = new Call(args[0]);
  -            String result = (String)call.invoke("Version", "getVersion", null);
  -            System.out.println(result);
  -        } catch (Exception e) {
  -            e.printStackTrace();
  -        }
  +        else
  +            try {
  +                Call call = new Call(args[0]);
  +                String result = (String)call.invoke("Version", "getVersion", 
  +                                                    null);
  +                System.out.println(result);
  +            } catch (Exception e) {
  +                e.printStackTrace();
  +            }
       }
   }
  
  
  

Mime
View raw message