You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ja...@apache.org on 2004/09/13 13:26:04 UTC

cvs commit: ws-fx/sandesha/src/org/apache/sandesha/ws/utility Identifier.java

jaliya      2004/09/13 04:26:04

  Modified:    sandesha/src/org/apache/sandesha/ws/utility Identifier.java
  Log:
  Formatted code
  
  Revision  Changes    Path
  1.9       +16 -16    ws-fx/sandesha/src/org/apache/sandesha/ws/utility/Identifier.java
  
  Index: Identifier.java
  ===================================================================
  RCS file: /home/cvs/ws-fx/sandesha/src/org/apache/sandesha/ws/utility/Identifier.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Identifier.java	7 May 2004 15:18:21 -0000	1.8
  +++ Identifier.java	13 Sep 2004 11:26:03 -0000	1.9
  @@ -16,11 +16,11 @@
    */
   package org.apache.sandesha.ws.utility;
   
  +import javax.xml.soap.SOAPException;
  +
   import org.apache.axis.message.MessageElement;
   import org.apache.axis.types.URI;
   
  -import javax.xml.soap.SOAPException;
  -
   /**
    * class Identifier
    * 
  @@ -51,8 +51,8 @@
       /**
        * Method setUri
        * 
  -     * @param uri 
  -     * @throws SOAPException 
  +     * @param uri
  +     * @throws SOAPException
        */
       public void setUri(String uri) throws SOAPException {
           identifierElement.addTextNode(uri);
  @@ -61,8 +61,8 @@
       /**
        * Method fromSOAPEnvelope
        * 
  -     * @param element 
  -     * @return 
  +     * @param element
  +     * @return
        */
       public Identifier fromSOAPEnvelope(MessageElement element) {
   
  @@ -73,9 +73,9 @@
       /**
        * Method toSOAPEnvelope
        * 
  -     * @param msgElement 
  -     * @return 
  -     * @throws SOAPException 
  +     * @param msgElement
  +     * @return @throws
  +     *         SOAPException
        */
       public MessageElement toSOAPEnvelope(MessageElement msgElement)
               throws SOAPException {
  @@ -87,8 +87,8 @@
       /**
        * Method getSoapElement
        * 
  -     * @return 
  -     * @throws SOAPException 
  +     * @return @throws
  +     *         SOAPException
        */
       public MessageElement getSoapElement() throws SOAPException {
   
  @@ -109,7 +109,7 @@
   
       /**
        * Method setIdentifier
  -     * 
  +     *  
        */
       public void setIdentifier(String string) {
           identifier = string;
  @@ -118,14 +118,14 @@
       /**
        * Method equals
        * 
  -     * @param obj 
  +     * @param obj
        * @return boolean
        */
       public boolean equals(Object obj) {
   
           if (obj instanceof Identifier) {
  -            if (this.identifier
  -                    == ((String) (((Identifier) obj).getIdentifier()))) {
  +            if (this.identifier == ((String) (((Identifier) obj)
  +                    .getIdentifier()))) {
                   return true;
               } else {
                   return false;
  @@ -152,4 +152,4 @@
       public String toString() {
           return identifier;
       }
  -}
  +}
  \ No newline at end of file