You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by sv...@apache.org on 2004/07/02 20:06:16 UTC
cvs commit: ws-juddi/src/java/org/apache/juddi/handler PhoneHandler.java
sviens 2004/07/02 11:06:16
Modified: src/java/org/apache/juddi/handler PhoneHandler.java
Log:
Removed unneccessary comments. Renamed emailValue to phoneValue - was probably the result of a copy-paste during initial development. This change has no effect on functionality.
Revision Changes Path
1.3 +3 -15 ws-juddi/src/java/org/apache/juddi/handler/PhoneHandler.java
Index: PhoneHandler.java
===================================================================
RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/handler/PhoneHandler.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PhoneHandler.java 11 Mar 2004 18:06:17 -0000 1.2
+++ PhoneHandler.java 2 Jul 2004 18:06:16 -0000 1.3
@@ -42,7 +42,6 @@
Phone obj = new Phone();
// Attributes
- // Attributes
String useType = element.getAttribute("useType");
if ((useType != null) && (useType.trim().length() > 0))
obj.setUseType(useType);
@@ -65,21 +64,10 @@
if ((useType != null) && (useType.trim().length() > 0))
element.setAttribute("useType",useType);
- String emailValue = phone.getValue();
- if (emailValue != null)
- element.appendChild(parent.getOwnerDocument().createTextNode(emailValue));
+ String phoneValue = phone.getValue();
+ if (phoneValue != null)
+ element.appendChild(parent.getOwnerDocument().createTextNode(phoneValue));
parent.appendChild(element);
- }
-
-
- /***************************************************************************/
- /***************************** TEST DRIVER *********************************/
- /***************************************************************************/
-
-
- public static void main(String args[])
- throws Exception
- {
}
}