Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-17148 api enhancement for url transport utility class #258

Merged
merged 1 commit into from
Apr 22, 2014

Conversation

robstryker
Copy link
Member

General structure of the change is that:

  1. A bug was fixed where caches were always incorrect. (String was not url-decoded on load)
  2. Cache indexes have been moved to a standalone index file for each cache
  3. The cached file name now more closely resembles the url it is for, rather than cache-324232432.tmp
  4. A new method signature is added to public API class URLTransportUtility where a cache root can be passed in.

JBIDE-17148 - method should be private
@robstryker robstryker merged commit ed77687 into jbosstools:master Apr 22, 2014
&& (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
offset += numRead;
}
is.close();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inpuststream isn't closed if is.read throws an exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants