Skip to content

Commit

Permalink
Revert loadserviceis back to bufferedis until I understand what all c…
Browse files Browse the repository at this point in the history
…omes through this resourcelibrary
  • Loading branch information
enebo committed Apr 6, 2015
1 parent 3ab40f0 commit a023fd3
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -234,9 +234,8 @@ public ResourceLibrary(String searchName, String scriptName, FileResource resour
public void load(Ruby runtime, boolean wrap) {
InputStream is;
try {
is = new LoadServiceResourceInputStream(resource.inputStream());
}
catch(IOException e) {
is = new BufferedInputStream(resource.inputStream(), 32768);
} catch(IOException e) {
throw runtime.newLoadError("no such file to load -- " + searchName, searchName);
}

Expand Down

0 comments on commit a023fd3

Please sign in to comment.