forked from kk-open/kkFileView
fix FileHandlerService#pdf2jpg npe (github issue #455)
This commit is contained in:
parent
5dbc8a4980
commit
c222755acc
|
|
@ -276,7 +276,7 @@ public class FileHandlerService {
|
|||
}
|
||||
}
|
||||
//判断是否加密文件 加密文件不缓存
|
||||
if (PDF_PASSWORD_MSG.equals(pdfPassword)) {
|
||||
if (!PDF_PASSWORD_MSG.equals(pdfPassword)) {
|
||||
this.addPdf2jpgCache(pdfFilePath, pageCount);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue