You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2013/01/13 16:47:53 UTC
svn commit: r1432645 -
/webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/SwitchingWrapper.java
Author: veithen
Date: Sun Jan 13 15:47:53 2013
New Revision: 1432645
URL: http://svn.apache.org/viewvc?rev=1432645&view=rev
Log:
Dead code elimination.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/SwitchingWrapper.java
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/SwitchingWrapper.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/SwitchingWrapper.java?rev=1432645&r1=1432644&r2=1432645&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/SwitchingWrapper.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/SwitchingWrapper.java Sun Jan 13 15:47:53 2013
@@ -1268,12 +1268,6 @@ class SwitchingWrapper extends AbstractX
* @return Returns int.
*/
private int generateEvents(OMSerializable node) {
- if (node == null) {
- if (log.isDebugEnabled()) {
- log.debug("Node is null...returning END_DOCUMENT");
- }
- return END_DOCUMENT;
- }
if (node instanceof OMDocument) {
return generateContainerEvents((OMDocument)node, true);
} else {