You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by sc...@apache.org on 2008/03/28 13:36:06 UTC

svn commit: r642207 - /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMOutputFormat.java

Author: scheu
Date: Fri Mar 28 05:36:02 2008
New Revision: 642207

URL: http://svn.apache.org/viewvc?rev=642207&view=rev
Log:
Quick Fix.  OMOutputFormat.log should be static (not an instance data member).
Thanks to David Strite for finding this potential performance issue!

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMOutputFormat.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMOutputFormat.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMOutputFormat.java?rev=642207&r1=642206&r2=642207&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMOutputFormat.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMOutputFormat.java Fri Mar 28 05:36:02 2008
@@ -38,7 +38,7 @@
  */
 public class OMOutputFormat {
     
-    private Log log = LogFactory.getLog(OMOutputFormat.class);
+    private static Log log = LogFactory.getLog(OMOutputFormat.class);
     
     private String mimeBoundary = null;
     private String rootContentId = null;



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