mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Wrapped stream in CoreLocalVirtualFile with buffered, since simple FileInputStream doesn't support mark/reset.
This commit is contained in:
@@ -126,7 +126,7 @@ public class CoreLocalVirtualFile extends VirtualFile {
|
||||
|
||||
@Override
|
||||
public InputStream getInputStream() throws IOException {
|
||||
return VfsUtilCore.inputStreamSkippingBOM(new FileInputStream(myIoFile), this);
|
||||
return VfsUtilCore.inputStreamSkippingBOM(new BufferedInputStream(new FileInputStream(myIoFile)), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user