ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1488786 - in /webservices/axiom/trunk/modules: axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/TextNodeImpl.java axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java
Date Sun, 02 Jun 2013 20:56:51 GMT
Author: veithen
Date: Sun Jun  2 20:56:51 2013
New Revision: 1488786

URL: http://svn.apache.org/r1488786
Log:
Removed unnecessary initializers.

Modified:
    webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/TextNodeImpl.java
    webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java

Modified: webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/TextNodeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/TextNodeImpl.java?rev=1488786&r1=1488785&r2=1488786&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/TextNodeImpl.java
(original)
+++ webservices/axiom/trunk/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/TextNodeImpl.java
Sun Jun  2 20:56:51 2013
@@ -48,9 +48,9 @@ public abstract class TextNodeImpl exten
 
     private boolean isBinary;
 
-    private String contentID = null;
+    private String contentID;
 
-    protected OMNamespace textNS = null;
+    protected OMNamespace textNS;
 
     protected char[] charArray;
 
@@ -58,7 +58,7 @@ public abstract class TextNodeImpl exten
      * Field dataHandler contains the DataHandler. Declaring as Object to remove the dependency
on
      * Javax.activation.DataHandler
      */
-    private Object dataHandlerObject = null;
+    private Object dataHandlerObject;
 
     /**
      * Creates a text node with the given text required by the OMDOMFactory. The owner document

Modified: webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java?rev=1488786&r1=1488785&r2=1488786&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java
(original)
+++ webservices/axiom/trunk/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMTextImpl.java
Sun Jun  2 20:56:51 2013
@@ -42,7 +42,7 @@ import java.io.IOException;
 public class OMTextImpl extends OMLeafNode implements OMText, OMConstants {
     private int nodeType;
 
-    protected String value = null;
+    protected String value;
     protected char[] charArray;
 
     private boolean calcNS;  // Set to true after textNS is calculated
@@ -50,18 +50,18 @@ public class OMTextImpl extends OMLeafNo
 
     protected String mimeType;
 
-    protected boolean optimize = false;
+    protected boolean optimize;
 
-    protected boolean isBinary = false;
+    protected boolean isBinary;
 
     /** Field contentID for the mime part used when serializing Binary stuff as MTOM optimized.
*/
-    private String contentID = null;
+    private String contentID;
 
     /**
      * Field dataHandler contains the DataHandler Declaring as Object to remove the dependency
on
      * Javax.activation.DataHandler
      */
-    private Object dataHandlerObject = null;
+    private Object dataHandlerObject;
 
     private static final String EMTPY_STRING = "";
 



Mime
View raw message