-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: alpha
-
Component/s: other-libs
-
None
-
1.0fcs
-
generic
-
solaris_2.6
-
Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2113044 | alpha | J. Duke | P3 | Closed | Fixed | alpha |
Javadoc for URLDataSource:
No java doc description for getContentType. Current implementation does:
Opens a URLConnnection. If successful returns the value of URLConnection.getContentType
if not, returns null.
/**
* The getOutputStream method from DataSource
*/
public InputStream getInputStream() throws IOException {
Note the mismatch between doc and method name. For both getInput and getOutputStream, a more
meaningful description would be:
return the ...Stream from the URLConnection, first opening and caching the connection if necessary.
No java doc description for getContentType. Current implementation does:
Opens a URLConnnection. If successful returns the value of URLConnection.getContentType
if not, returns null.
/**
* The getOutputStream method from DataSource
*/
public InputStream getInputStream() throws IOException {
Note the mismatch between doc and method name. For both getInput and getOutputStream, a more
meaningful description would be:
return the ...Stream from the URLConnection, first opening and caching the connection if necessary.
- backported by
-
JDK-2113044 Missing or indadequate javadoc for URLDataSource
-
- Closed
-