ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1332762 - /webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
Date Tue, 01 May 2012 17:41:31 GMT
Author: veithen
Date: Tue May  1 17:41:31 2012
New Revision: 1332762

URL: http://svn.apache.org/viewvc?rev=1332762&view=rev
Log:
Removed unused code.

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java?rev=1332762&r1=1332761&r2=1332762&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
(original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
Tue May  1 17:41:31 2012
@@ -208,21 +208,6 @@ public class OMSourcedElementImpl extend
         }
         return lossyPrefix == Boolean.TRUE;
     }
-    private void setDeferredNamespace(OMDataSource source, String uri, String prefix) {
-        Object lossyPrefix = null;
-        if (source instanceof OMDataSourceExt) {
-            lossyPrefix = 
-                ((OMDataSourceExt) source).getProperty(OMDataSourceExt.LOSSY_PREFIX);
-                        
-        }
-        if (lossyPrefix != Boolean.TRUE) {
-            // Believe the prefix and create a normal OMNamespace
-            definedNamespace = new OMNamespaceImpl(uri, prefix);
-        } else {
-            // Create a deferred namespace that forces an expand to get the prefix
-            definedNamespace = new DeferredNamespace(uri);
-        }
-    }
 
     /**
      * Generate element name for output.



Mime
View raw message