Skip to content

Commit

Permalink
version 1.2018.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudroques committed Mar 9, 2018
1 parent 7437f31 commit 353b089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<dependency>
<groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId>
<version>1.2018.1</version>
<version>1.2018.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ void sendDiagram(String uml, int idx) throws IOException {
if (StringUtils.isDiagramCacheable(uml)) {
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) {
Expand Down

0 comments on commit 353b089

Please sign in to comment.