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:
parent
7437f31418
commit
353b089904
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user