File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ document.pageReady.push(function() { pageReadyList();});
239239 if (cfg. annotate()) {
240240 // annotate
241241 BufferedInputStream bin =
242- new BufferedInputStream (new FileInputStream (resourceFile));
242+ new BufferedInputStream (new FileInputStream (resourceFile));
243243 try {
244244 AnalyzerFactory a = AnalyzerGuru . find(basename);
245245 AbstractAnalyzer . Genre g = AnalyzerGuru . getGenre(a);
@@ -310,13 +310,12 @@ Click <a href="<%= rawPath %>">download <%= basename %></a><%
310310 File tempf = null ;
311311 try {
312312 if (rev. equals(DUMMY_REVISION )) {
313- in = new FileInputStream (resourceFile);
313+ in = new BufferedInputStream ( new FileInputStream (resourceFile) );
314314 } else {
315315 tempf = File . createTempFile(" ogtags" , basename);
316316 if (HistoryGuru . getInstance(). getRevision(tempf,
317317 resourceFile. getParent(), basename, rev)) {
318- in = new BufferedInputStream (
319- new FileInputStream (tempf));
318+ in = new BufferedInputStream (new FileInputStream (tempf));
320319 } else {
321320 tempf. delete();
322321 tempf = null ;
You can’t perform that action at this time.
0 commit comments