Suresh Thalamati wrote:
[javadoc]
C:\nightlies\main\src\opensource\java\engine\org\apache\derby\iapi\types\XML.java:262:
warning - Tag @see: can't find setFrom
org.apache.derby.iapi.types.DataValueDescriptor
[javadoc]
C:\nightlies\main\src\opensource\java\engine\org\apache\derby\iapi\types\XML.java:163:
warning - @param argument "qualXType" is not a parameter name.
Attached patch should fix these two javadoc errors in XML.java. Thanks for
catching these, Suresh.
Army
Index: java/engine/org/apache/derby/iapi/types/XML.java
===================================================================
--- java/engine/org/apache/derby/iapi/types/XML.java (revision 431636)
+++ java/engine/org/apache/derby/iapi/types/XML.java (working copy)
@@ -158,7 +158,6 @@
* object's qualified type.
* @param val A SQLChar instance to clone and use for
* this XML value.
- * @param qualXType Qualified XML type.
*/
private XML(SQLChar val, int xmlType)
{
@@ -255,9 +254,7 @@
}
/**
- * @see DataValueDescriptor#setFrom
- *
- * Note:
+ * @see DataType#setFrom
*/
protected void setFrom(DataValueDescriptor theValue)
throws StandardException
Index: java/engine/org/apache/derby/iapi/types/DataType.java
===================================================================
--- java/engine/org/apache/derby/iapi/types/DataType.java (revision
431636)
+++ java/engine/org/apache/derby/iapi/types/DataType.java (working copy)
@@ -478,6 +478,14 @@
}
}
+ /**
+ * Set the value of this DataValueDescriptor based on the value
+ * of the specified DataValueDescriptor.
+ *
+ * @param dvd The DataValueDescriptor that holds the value to
+ * which we want to set this DataValueDescriptor's value.
+ *
+ */
protected void setFrom(DataValueDescriptor dvd) throws StandardException
{
throw StandardException.newException(SQLState.NOT_IMPLEMENTED);