axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava JavaWriter.java
Date Tue, 12 Mar 2002 16:34:54 GMT
butek       02/03/12 08:34:54

  Modified:    java/src/org/apache/axis/wsdl/toJava JavaWriter.java
  Log:
  Change generated comments from //-style to javadoc-style.
  
  Revision  Changes    Path
  1.7       +3 -1      xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaWriter.java
  
  Index: JavaWriter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaWriter.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JavaWriter.java	15 Feb 2002 19:41:17 -0000	1.6
  +++ JavaWriter.java	12 Mar 2002 16:34:54 -0000	1.7
  @@ -214,6 +214,7 @@
               int start = 0;
   
               pw.println();  // blank line
  +            pw.println("    /**");
   
               // make the comment look pretty
               while (start < comment.length()) {
  @@ -225,9 +226,10 @@
                           !Character.isWhitespace(comment.charAt(end))) {
                       end++;
                   }
  -                pw.println("    // " + comment.substring(start, end).trim());
  +                pw.println("     * " + comment.substring(start, end).trim());
                   start = end + 1;
               }
  +            pw.println("     */");
           }
       } // writeComment
   
  
  
  

Mime
View raw message