"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/servlet/TextToSpeechServlet.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

TextToSpeechServlet.java  (OpenKM-document-management-system-6.3.10):TextToSpeechServlet.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 82 skipping to change at line 82
if (process.exitValue() == 1) { if (process.exitValue() == 1) {
log.warn(info); log.warn(info);
} }
// Send to client // Send to client
os = response.getOutputStream(); os = response.getOutputStream();
fis = new FileInputStream("output.ogg"); fis = new FileInputStream("output.ogg");
IOUtils.copy(fis, os); IOUtils.copy(fis, os);
os.flush(); os.flush();
} catch (InterruptedException e) { } catch (InterruptedException | IOException | PathNotFoundExcepti
log.warn(e.getMessage(), e); on | AccessDeniedException | RepositoryException
} catch (IOException e) { | DatabaseException | ConversionException | LockE
log.warn(e.getMessage(), e); xception e) {
} catch (PathNotFoundException e) {
log.warn(e.getMessage(), e);
} catch (AccessDeniedException e) {
log.warn(e.getMessage(), e);
} catch (RepositoryException e) {
log.warn(e.getMessage(), e);
} catch (DatabaseException e) {
log.warn(e.getMessage(), e);
} catch (ConversionException e) {
log.warn(e.getMessage(), e); log.warn(e.getMessage(), e);
} finally { } finally {
IOUtils.closeQuietly(fis); IOUtils.closeQuietly(fis);
IOUtils.closeQuietly(os); IOUtils.closeQuietly(os);
} }
} }
} }
 End of changes. 1 change blocks. 
13 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)