1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-11-11 15:20:58 +00:00

version 1.2018.2

This commit is contained in:
Arnaud Roques 2018-03-09 22:51:16 +01:00
parent 7437f31418
commit 353b089904
2 changed files with 3 additions and 2 deletions

View File

@ -179,7 +179,7 @@
<dependency> <dependency>
<groupId>net.sourceforge.plantuml</groupId> <groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId> <artifactId>plantuml</artifactId>
<version>1.2018.1</version> <version>1.2018.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>

View File

@ -85,7 +85,8 @@ class DiagramResponse {
if (StringUtils.isDiagramCacheable(uml)) { if (StringUtils.isDiagramCacheable(uml)) {
addHeaderForCache(blockUml); addHeaderForCache(blockUml);
} }
reader.outputImage(response.getOutputStream(), new FileFormatOption(format, false)); final Diagram diagram = blockUml.getDiagram();
final ImageData result = diagram.exportDiagram(response.getOutputStream(), idx, new FileFormatOption(format));
} }
private boolean notModified(BlockUml blockUml) { private boolean notModified(BlockUml blockUml) {