src/share/classes/javax/naming/Reference.java
Print this page
@@ -216,12 +216,12 @@
/**
* Retrieves the first address that has the address type 'addrType'.
* String.compareTo() is used to test the equality of the address types.
*
* @param addrType The non-null address type for which to find the address.
- * @return The address in this reference with address type 'addrType;
- * null if no such address exist.
+ * @return The address in this reference with address type 'addrType';
+ * null if no such address exists.
*/
public RefAddr get(String addrType) {
int len = addrs.size();
RefAddr addr;
for (int i = 0; i < len; i++) {