axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r556722 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
Date Mon, 16 Jul 2007 20:27:54 GMT
Author: dims
Date: Mon Jul 16 13:27:52 2007
New Revision: 556722

URL: http://svn.apache.org/viewvc?view=rev&rev=556722
Log:
format multi line comments too

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java?view=diff&rev=556722&r1=556721&r2=556722
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
Mon Jul 16 13:27:52 2007
@@ -85,6 +85,11 @@
             Method put = clazz2.getMethod("put", new Class[]{key.getClass(), String.class});
             put.invoke(settings, new Object[]{key, "true"});
 
+            field = clazz3.getField("COMMENT_FORMAT_MULTI_LINE");
+            key = field.get(null);
+            put = clazz2.getMethod("put", new Class[]{key.getClass(), String.class});
+            put.invoke(settings, new Object[]{key, "true"});
+
             // format and overwrite the given input file
             Method format = clazz.getMethod("format", new Class[]{});
             format.invoke(prettifier, new Object[]{});



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


Mime
View raw message