ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@locus.apache.org
Subject cvs commit: xml-soap/java/src/org/apache/soap/util/xml QName.java
Date Mon, 04 Sep 2000 21:37:29 GMT
gdaniels    00/09/04 14:37:29

  Modified:    java/src/org/apache/soap/util/xml QName.java
  Log:
  Remove single-string contstructor, as that isn't actually the way to do it.
  
  Revision  Changes    Path
  1.4       +0 -28     xml-soap/java/src/org/apache/soap/util/xml/QName.java
  
  Index: QName.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/util/xml/QName.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- QName.java	2000/09/04 21:19:24	1.3
  +++ QName.java	2000/09/04 21:37:29	1.4
  @@ -103,34 +103,6 @@
       setLocalPart(localPart);
     }
     
  -  public QName(String strQName)
  -  {
  -	if (strQName == null) {
  -		setLocalPart(null);
  -		setNamespaceURI(null);
  -		return;
  -	}
  -	
  -	int idx = strQName.indexOf(":");
  -
  -	String namespaceURI;
  -	if (idx <= 0) {
  -		namespaceURI = "";  // "", or null?
  -	} else {
  -		namespaceURI = strQName.substring(0, idx);
  -	}
  -	setNamespaceURI(namespaceURI);
  -	idx++;
  -	
  -	String localPart;
  -	if (idx == strQName.length()) {
  -		localPart = "";
  -	} else {
  -		localPart = strQName.substring(idx);
  -	}
  -	setLocalPart(localPart);
  -  }
  -
     public void setNamespaceURI(String namespaceURI)
     {
       this.namespaceURI = namespaceURI.intern();
  
  
  

Mime
View raw message