Skip to content

Commit 2251331

Browse files
committed
📚 Improve JavaDocs
1 parent 77007e9 commit 2251331

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/org/spdx/utility/DownloadCache.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ public void resetCache() throws IOException {
162162
}
163163

164164
/**
165-
* @param url The URL to get an input stream for.
165+
* @param url The URL to get an input stream for. Note that redirects issued by this url are restricted to known
166+
* SPDX hosts. Redirects to other hosts will cause an IOException to be thrown.
166167
* @return An InputStream for url, or null if url is null. Note that this InputStream may be of different concrete
167168
* types, depending on whether the content is being served out of cache or not.
168169
* @throws IOException When an IO error of some kind occurs.

0 commit comments

Comments
 (0)